Function at 0x4e6740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x100], eax
mov eax, dword [ecx + 8]
lea esi, [eax + 0x68]
mov ecx, dword [eax + 0x68]
cmp ecx, 0x1c
je 0x4e6d74
lea edx, [eax + 0x70]
mov edi, dword [eax + 0x70]
cmp edi, 0x1c
je 0x4e6d72
lea ebx, [eax + 0x78]
mov dword [esp + 8], ebx
mov ebx, dword [eax + 0x78]
cmp ebx, 0x1c
je 0x4e6f56
mov dword [esp + 0x14], edx
lea edx, [eax + 0x80]
mov dword [esp + 4], edx
mov edx, dword [eax + 0x80]
cmp edx, 0x1c
je 0x4e6f5f
mov dword [esp + 0xc], edx
lea edx, [eax + 0x88]
mov dword [esp], edx
mov edx, dword [eax + 0x88]
cmp edx, 0x1c
je 0x4e6f68
mov dword [esp + 0x10], ebx
mov dword [esp + 0xe4], edx
lea edx, [eax + 0x90]
mov ebx, dword [eax + 0x90]
mov dword [esp + 0xe0], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0xdc], edx
lea edx, [eax + 0x98]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x98]
cmp edx, 0x1c
je 0x4e6f79
mov dword [esp + 0xd8], edx
lea edx, [eax + 0xa0]
mov ebx, dword [eax + 0xa0]
mov dword [esp + 0xd4], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0xd0], edx
lea edx, [eax + 0xa8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xa8]
cmp edx, 0x1c
je 0x4e6ff2
mov dword [esp + 0xcc], edx
lea edx, [eax + 0xb0]
mov ebx, dword [eax + 0xb0]
mov dword [esp + 0xc8], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0xc4], edx
lea edx, [eax + 0xb8]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xb8]
cmp edx, 0x1c
je 0x4e7086
mov dword [esp + 0xc0], edx
lea edx, [eax + 0xc0]
mov ebx, dword [eax + 0xc0]
mov dword [esp + 0xbc], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0xb8], edx
lea edx, [eax + 0xc8]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0xc8]
cmp edx, 0x1c
je 0x4e7097
mov dword [esp + 0xb4], edx
lea edx, [eax + 0xd0]
mov ebx, dword [eax + 0xd0]
mov dword [esp + 0xb0], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0xac], edx
lea edx, [eax + 0xd8]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0xd8]
cmp edx, 0x1c
je 0x4e70d5
mov dword [esp + 0xa8], edx
lea edx, [eax + 0xe0]
mov ebx, dword [eax + 0xe0]
mov dword [esp + 0xa4], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0xa0], edx
lea edx, [eax + 0xe8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xe8]
cmp edx, 0x1c
je 0x4e70ed
mov dword [esp + 0x9c], edx
lea edx, [eax + 0xf0]
mov ebx, dword [eax + 0xf0]
mov dword [esp + 0x98], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0x94], edx
lea edx, [eax + 0xf8]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0xf8]
cmp edx, 0x1c
je 0x4e70f6
mov dword [esp + 0x90], edx
lea edx, [eax + 0x100]
mov ebx, dword [eax + 0x100]
mov dword [esp + 0x8c], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0x88], edx
lea edx, [eax + 0x108]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x108]
cmp edx, 0x1c
je 0x4e70ff
mov dword [esp + 0x84], edx
lea edx, [eax + 0x110]
mov ebx, dword [eax + 0x110]
mov dword [esp + 0x80], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0x7c], edx
lea edx, [eax + 0x118]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x118]
cmp edx, 0x1c
je 0x4e7108
mov dword [esp + 0x78], edx
lea edx, [eax + 0x120]
mov ebx, dword [eax + 0x120]
mov dword [esp + 0x74], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0x70], edx
lea edx, [eax + 0x128]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x128]
cmp edx, 0x1c
je 0x4e7111
mov dword [esp + 0x6c], edx
lea edx, [eax + 0x130]
mov ebx, dword [eax + 0x130]
mov dword [esp + 0x68], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0x64], edx
lea edx, [eax + 0x138]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x138]
cmp edx, 0x1c
je 0x4e711a
mov dword [esp + 0x60], edx
lea edx, [eax + 0x140]
mov ebx, dword [eax + 0x140]
mov dword [esp + 0x5c], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0x58], edx
lea edx, [eax + 0x148]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x148]
cmp edx, 0x1c
je 0x4e7123
mov dword [esp + 0x54], edx
lea edx, [eax + 0x150]
mov ebx, dword [eax + 0x150]
mov dword [esp + 0x50], ebx
cmp ebx, 0x1c
je 0x4e6d72
mov dword [esp + 0x4c], edx
lea edx, [eax + 0x158]
mov dword [esp + 0x18], edx
mov ebx, dword [eax + 0x158]
cmp ebx, 0x1c
je 0x4e712c
mov edx, dword [eax + 0x160]
add eax, 0x160
cmp edx, 0x1c
je 0x4e7135
test ecx, ecx
mov ecx, dword [esp + 0x10]
je 0x4e6d15
mov esi, dword [esp + 0x14]
test edi, edi
je 0x4e6d15
mov esi, dword [esp + 8]
test ecx, ecx
je 0x4e6d15
mov esi, dword [esp + 4]
cmp dword [esp + 0xc], 0
je 0x4e6d15
mov esi, dword [esp]
cmp dword [esp + 0xe4], 0
je 0x4e6d15
mov esi, dword [esp + 0xdc]
cmp dword [esp + 0xe0], 0
je 0x4e6d15
mov esi, dword [esp + 0x48]
cmp dword [esp + 0xd8], 0
je 0x4e6d15
mov esi, dword [esp + 0xd0]
cmp dword [esp + 0xd4], 0
je 0x4e6d15
mov esi, dword [esp + 0x44]
cmp dword [esp + 0xcc], 0
je 0x4e6d15
mov esi, dword [esp + 0xc4]
cmp dword [esp + 0xc8], 0
je 0x4e6d15
mov esi, dword [esp + 0x40]
cmp dword [esp + 0xc0], 0
je 0x4e6d15
mov esi, dword [esp + 0xb8]
cmp dword [esp + 0xbc], 0
je 0x4e6d15
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0xb4], 0
je 0x4e6d15
mov esi, dword [esp + 0xac]
cmp dword [esp + 0xb0], 0
je 0x4e6d15
mov esi, dword [esp + 0x38]
cmp dword [esp + 0xa8], 0
je 0x4e6d15
mov esi, dword [esp + 0xa0]
cmp dword [esp + 0xa4], 0
je 0x4e6d15
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x9c], 0
je 0x4e6d15
mov esi, dword [esp + 0x94]
cmp dword [esp + 0x98], 0
je 0x4e6d15
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x90], 0
je 0x4e6d15
mov esi, dword [esp + 0x88]
cmp dword [esp + 0x8c], 0
je 0x4e6d15
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x84], 0
je 0x4e6d15
mov esi, dword [esp + 0x7c]
cmp dword [esp + 0x80], 0
je 0x4e6d15
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x78], 0
je 0x4e6d15
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x74], 0
je 0x4e6d15
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x6c], 0
je 0x4e6d15
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x68], 0
je 0x4e6d15
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x60], 0
je 0x4e6d15
mov esi, dword [esp + 0x58]
cmp dword [esp + 0x5c], 0
je 0x4e6d15
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x54], 0
je 0x4e6d15
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0
je 0x4e6d15
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x4e6d15
mov esi, eax
test edx, edx
jne 0x4e7235
mov dword [esi], 0x1c
lea ebx, [esi + 4]
push 0x44
call fcn.0050d5de
add esp, 4
mov edi, eax
lea ecx, [eax + 0x18]
xorps xmm0, xmm0
movups xmmword [eax + 0x18], xmm0
movups xmmword [eax + 0x28], xmm0
movups xmmword [eax + 0x34], xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0x3f800000
mov dword [eax], 0x5d26a4
call fcn.0049c290
mov ecx, dword [esi + 4]
mov dword [esi + 4], edi
test ecx, ecx
je 0x4e6d79
mov eax, dword [ecx]
mov esi, dword [eax]
mov edi, ecx
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 1
call esi
jmp 0x4e6d79
mov esi, edx
add esi, 4
mov ebx, esi
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
lea ecx, [edi + 0x18]
push dword [ebp + 0x10]
call fcn.004fd9c0
test eax, eax
je 0x4e713c
lea ecx, [edi + 4]
mov dword [esp + 8], ecx
mov esi, dword [edi + 8]
mov ebx, dword [edi + 0x10]
test esi, esi
mov dword [esp + 4], edi
mov dword [esp + 0x14], eax
je 0x4e708f
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul ecx, ecx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
mov dword [esp], ebx
jbe 0x4e6f49
mov edx, dword [ebp + 0x10]
mov edi, edx
cmp esi, edx
ja 0x4e6e02
mov eax, edx
xor edx, edx
div esi
mov edi, edx
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x4e6e48
lea eax, [esi - 1]
mov dword [esp + 0xc], eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x4e6e48
mov eax, dword [ebx + 4]
cmp eax, edx
jne 0x4e6e2e
cmp dword [ebx + 8], edx
je 0x4e6f25
jmp 0x4e6e16
cmp ecx, 1
jbe 0x4e6f70
cmp eax, esi
jb 0x4e6e41
xor edx, edx
div esi
mov eax, edx
mov edx, dword [ebp + 0x10]
cmp eax, edi
je 0x4e6e23
mov ebx, dword [esp]
inc ebx
push 0x10
call fcn.0050d5de
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [esp + 0xc], eax
mov dword [eax + 4], edx
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
inc eax
movd xmm0, eax
movq xmm2, qword [0x5d5eb0]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ecx + 0x14]
test esi, esi
je 0x4e6ffb
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4e6ffb
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + edi*4]
test eax, eax
jne 0x4e6f82
mov edx, dword [esp + 4]
mov eax, dword [edx + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
lea eax, [edx + 0xc]
mov dword [esp + 0x10], eax
mov dword [edx + 0xc], ecx
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
mov dword [eax + edi*4], ecx
mov edi, edx
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
mov ecx, dword [ebp + 0x10]
je 0x4e6f93
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x4e7144
cmp eax, esi
jb 0x4e6f13
xor edx, edx
div esi
mov eax, edx
shl eax, 2
mov ecx, dword [esp + 8]
add eax, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x4e6f91
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp + 8]
mov byte [esi], 1
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x100]
xor ecx, ebp
call fcn.0050dc12
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esi - 1]
mov edx, dword [ebp + 0x10]
and edi, edx
jmp 0x4e6e02
mov esi, dword [esp + 8]
jmp 0x4e6d74
mov esi, dword [esp + 4]
jmp 0x4e6d74
mov esi, dword [esp]
jmp 0x4e6d74
and eax, dword [esp + 0xc]
jmp 0x4e6e44
mov esi, dword [esp + 0x48]
jmp 0x4e6d74
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
mov edi, dword [esp + 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
inc dword [edi + 0x10]
mov esi, dword [esp + 0x14]
push esi
mov edi, dword [ebp + 0xc]
push edi
mov edi, ebx
mov ebx, ecx
call fcn.0047eea0
add esp, 8
mov dword [esp + 8], eax
mov ecx, esi
call fcn.00509d20
sub ebx, eax
xor eax, eax
lea ecx, [esp + 0xf0]
mov dword [ecx + 4], eax
mov edx, dword [esp + 8]
mov dword [ecx], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
add eax, 0x48
push ecx
push edi
push eax
call fcn.0047faa0
add esp, 0xc
mov esi, dword [ebp + 8]
mov byte [esi], 1
mov dword [esi + 4], edi
jmp 0x4e6f31
mov esi, dword [esp + 0x44]
jmp 0x4e6d74
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.0053e5a0
add esp, 8
fstp dword [esp + 0xec]
movss xmm0, dword [esp + 0xec]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x5c25f8]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
cmp esi, 3
jae 0x4e70de
xor eax, eax
inc eax
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov edi, 2
cmp eax, 1
jne 0x4e70a0
cmp edi, esi
jbe 0x4e714b
mov ecx, dword [esp + 8]
push edi
call fcn.00480cf0
mov eax, dword [esp + 4]
mov esi, dword [eax + 8]
lea edi, [esi - 1]
test esi, edi
jne 0x4e70bf
mov edx, dword [ebp + 0x10]
and edi, edx
jmp 0x4e6eb3
mov esi, dword [esp + 0x40]
jmp 0x4e6d74
xor edi, edi
dec edi
jmp 0x4e6e4b
mov esi, dword [esp + 0x3c]
jmp 0x4e6d74
lea ecx, [eax - 1]
test eax, ecx
je 0x4e7209
push eax
call fcn.004caf70
add esp, 4
mov edi, eax
mov eax, dword [esp + 4]
mov esi, dword [eax + 8]
jmp 0x4e705c
mov eax, dword [ebp + 0x10]
cmp esi, eax
ja 0x4e7210
xor edx, edx
div esi
mov edi, edx
jmp 0x4e6eb3
mov esi, dword [esp + 0x38]
jmp 0x4e6d74
lea edi, [esi - 1]
xor eax, eax
test esi, edi
setne al
jmp 0x4e704b
mov esi, dword [esp + 0x34]
jmp 0x4e6d74
mov esi, dword [esp + 0x30]
jmp 0x4e6d74
mov esi, dword [esp + 0x2c]
jmp 0x4e6d74
mov esi, dword [esp + 0x28]
jmp 0x4e6d74
mov esi, dword [esp + 0x24]
jmp 0x4e6d74
mov esi, dword [esp + 0x20]
jmp 0x4e6d74
mov esi, dword [esp + 0x1c]
jmp 0x4e6d74
mov esi, dword [esp + 0x18]
jmp 0x4e6d74
mov esi, eax
jmp 0x4e6d74
mov byte [esi], 0
jmp 0x4e6f31
and eax, ecx
jmp 0x4e6f13
jae 0x4e706e
mov dword [esp], ebx
mov eax, dword [esp + 4]
movss xmm0, dword [eax + 0x10]
orpd xmm0, xmmword [0x5d5ea0]
subsd xmm0, qword [0x5d5eb0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x14]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.0053e5a0
add esp, 8
fstp dword [esp + 0xe8]
movss xmm0, dword [esp + 0xe8]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x5c25f8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x4e7217
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, 0x33333333
mov ebx, eax
and ebx, ecx
shr eax, 2
and eax, ecx
add eax, ebx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x4e7217
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x4e7220
mov edi, eax
jmp 0x4e705c
mov edi, eax
jmp 0x4e6eb3
push edx
call fcn.004caf70
add esp, 4
cmp edi, eax
cmovbe edi, eax
cmp edi, esi
mov ebx, dword [esp]
jb 0x4e7064
jmp 0x4e706e
call fcn.0051fdad
push dword [eax]
call fcn.0052a61b
add esp, 4
mov esi, eax
call fcn.0051fdad
mov edi, dword [eax]
push str....._third_partyperfettoincludeperfetto_tracing_track_event_interned_data_index.h
call fcn.00540240
add esp, 4
push esi
push edi
push str.PERFETTO_CHECK_false_
push str._s__errno:__d___s_
push 0xf6
push eax
push 3
call fcn.005404a0
add esp, 0x1c
int3