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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
mov ecx, dword [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x108], eax
mov eax, dword [ecx + 8]
lea esi, [eax + 0x70]
mov edx, dword [eax + 0x70]
cmp edx, 4
jne 0x46e63c
add esi, 4
mov edi, esi
mov ecx, dword [ebp + 0xc]
mov edi, dword [edi]
lea eax, [edi + 4]
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x10]
add ebx, 1
mov eax, dword [ecx + 8]
mov dword [esp + 0x100], eax
movsd xmm0, qword [ecx]
movsd qword [esp + 0xf8], xmm0
mov dword [esp + 0x104], ebx
lea eax, [esp + 0xf8]
push eax
push 0xc
call fcn.00474460
add esp, 8
mov dword [esp + 4], eax
mov esi, dword [edi + 8]
test esi, esi
mov dword [esp + 0x10], edi
je 0x46e814
mov eax, esi
shr eax, 1
and eax, 0x55555555
mov ecx, esi
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul ecx, eax, 0x1010101
shr ecx, 0x18
cmp ecx, 1
jbe 0x46e652
mov eax, dword [esp + 4]
mov edx, eax
cmp eax, esi
jb 0x46e58b
mov eax, dword [esp + 4]
xor edx, edx
div esi
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46e664
mov edi, dword [eax]
test edi, edi
je 0x46e664
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xfc]
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
lea eax, [esi - 1]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
cmp eax, dword [esp + 4]
jne 0x46e600
cmp dword [edi + 0xc], ebx
jne 0x46e5f0
mov eax, dword [esp + 0xc]
cmp dword [edi + 8], eax
jne 0x46e5f0
mov eax, dword [esp + 0x18]
cmp dword [edi + 0x10], eax
je 0x46e621
nop
nop
mov edi, dword [edi]
test edi, edi
jne 0x46e5ce
jmp 0x46e841
cmp ecx, 1
mov dword [esp + 8], edx
jbe 0x46e65e
cmp eax, esi
jb 0x46e613
xor edx, edx
div esi
mov eax, edx
mov edx, dword [esp + 8]
cmp eax, edx
je 0x46e5d7
mov ebx, dword [esp + 0x1c]
jmp 0x46e668
mov ebx, dword [edi + 0x14]
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [eax + 0x78]
mov ebx, dword [eax + 0x78]
cmp ebx, 4
jne 0x46e7f6
mov esi, edi
jmp 0x46e4e2
lea edx, [esi - 1]
and edx, dword [esp + 4]
jmp 0x46e58b
and eax, dword [esp + 0x20]
jmp 0x46e617
mov dword [esp + 8], edx
mov edi, dword [esp + 0x10]
push 0x18
call fcn.00489952
add esp, 4
mov ecx, eax
movsd xmm0, qword [esp + 0xf8]
movsd qword [eax + 8], xmm0
mov eax, dword [esp + 0x100]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x104]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 4]
mov dword [ecx + 4], eax
mov dword [esp + 0xc], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x10]
inc eax
movq xmm1, qword [0x501c70]
movd xmm0, eax
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movd xmm2, esi
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [edi + 0x14]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x46e787
test esi, esi
je 0x46e787
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, edx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov ecx, dword [ecx + edx*4]
test ecx, ecx
jne 0x46e75f
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
lea eax, [edi + 0xc]
mov dword [esp + 0x18], eax
mov dword [edi + 0xc], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x46e769
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x46e83a
cmp eax, esi
jb 0x46e750
xor edx, edx
div esi
mov eax, edx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc]
mov dword [ecx + eax*4], edx
jmp 0x46e769
mov eax, dword [ecx]
mov edx, dword [esp + 0xc]
mov dword [edx], eax
mov dword [ecx], edx
inc dword [edi + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add eax, 0x48
push dword [ebp + 0xc]
push ebx
push eax
call fcn.0044d4d0
add esp, 0xc
jmp 0x46e624
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004b3030
add esp, 8
fstp dword [esp + 0x88]
fld dword [esp + 0x88]
fisttp qword [esp + 0x88]
mov eax, dword [esp + 0x88]
lea ecx, [esi + esi]
cmp esi, 3
jae 0x46e82a
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, dword [esp + 0x14]
push edx
call fcn.00442680
mov esi, dword [edi + 8]
lea edx, [esi - 1]
test esi, edx
je 0x46e821
mov eax, dword [esp + 4]
cmp eax, esi
jb 0x46e979
xor edx, edx
div esi
jmp 0x46e6f5
lea ecx, [eax + 0x80]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x80]
cmp ecx, 4
jne 0x46e84a
mov esi, dword [esp + 4]
jmp 0x46e4e2
mov dword [esp + 8], 0xffffffff
jmp 0x46e66c
and edx, dword [esp + 4]
jmp 0x46e6f5
lea edi, [esi - 1]
xor edx, edx
test esi, edi
mov edi, dword [esp + 0x10]
setne dl
jmp 0x46e7c6
and eax, ecx
jmp 0x46e750
mov dword [esp + 8], edx
jmp 0x46e61b
mov dword [esp + 0xc], ecx
lea ecx, [eax + 0x88]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x88]
cmp ecx, 4
jne 0x46e86c
mov esi, dword [esp + 0x14]
jmp 0x46e4e2
mov dword [esp + 8], ecx
lea ecx, [eax + 0x90]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x10], ecx
cmp ecx, 4
jne 0x46e892
mov esi, dword [esp + 0x18]
jmp 0x46e4e2
lea ecx, [eax + 0x98]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x1c], ecx
cmp ecx, 4
jne 0x46e8b4
mov esi, dword [esp + 0x20]
jmp 0x46e4e2
lea ecx, [eax + 0xa0]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0xa0]
mov dword [esp + 0xf4], ecx
cmp ecx, 4
jne 0x46e8df
mov esi, dword [esp + 0x84]
jmp 0x46e4e2
lea ecx, [eax + 0xa8]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0xa8]
mov dword [esp + 0xf0], ecx
cmp ecx, 4
jne 0x46e90a
mov esi, dword [esp + 0x80]
jmp 0x46e4e2
lea ecx, [eax + 0xb0]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0xb0]
mov dword [esp + 0xec], ecx
cmp ecx, 4
jne 0x46e92f
mov esi, dword [esp + 0x7c]
jmp 0x46e4e2
lea ecx, [eax + 0xb8]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0xb8]
mov dword [esp + 0xe8], ecx
cmp ecx, 4
jne 0x46e954
mov esi, dword [esp + 0x78]
jmp 0x46e4e2
lea ecx, [eax + 0xc0]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0xe4], ecx
cmp ecx, 4
jne 0x46e980
mov esi, dword [esp + 0x74]
jmp 0x46e4e2
mov edx, eax
jmp 0x46e6f5
lea ecx, [eax + 0xc8]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0xc8]
mov dword [esp + 0xe0], ecx
cmp ecx, 4
jne 0x46e9a5
mov esi, dword [esp + 0x70]
jmp 0x46e4e2
lea ecx, [eax + 0xd0]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0xd0]
mov dword [esp + 0xdc], ecx
cmp ecx, 4
jne 0x46e9ca
mov esi, dword [esp + 0x6c]
jmp 0x46e4e2
lea ecx, [eax + 0xd8]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0xd8]
mov dword [esp + 0xd8], ecx
cmp ecx, 4
jne 0x46e9ef
mov esi, dword [esp + 0x68]
jmp 0x46e4e2
lea ecx, [eax + 0xe0]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0xe0]
mov dword [esp + 0xd4], ecx
cmp ecx, 4
jne 0x46ea14
mov esi, dword [esp + 0x64]
jmp 0x46e4e2
lea ecx, [eax + 0xe8]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0xe8]
mov dword [esp + 0xd0], ecx
cmp ecx, 4
jne 0x46ea39
mov esi, dword [esp + 0x60]
jmp 0x46e4e2
lea ecx, [eax + 0xf0]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0xf0]
mov dword [esp + 0xcc], ecx
cmp ecx, 4
jne 0x46ea5e
mov esi, dword [esp + 0x5c]
jmp 0x46e4e2
lea ecx, [eax + 0xf8]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0xf8]
mov dword [esp + 0xc8], ecx
cmp ecx, 4
jne 0x46ea83
mov esi, dword [esp + 0x54]
jmp 0x46e4e2
lea ecx, [eax + 0x100]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x100]
mov dword [esp + 0xc4], ecx
cmp ecx, 4
jne 0x46eaa8
mov esi, dword [esp + 0x58]
jmp 0x46e4e2
lea ecx, [eax + 0x108]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x108]
mov dword [esp + 0xc0], ecx
cmp ecx, 4
jne 0x46eacd
mov esi, dword [esp + 0x4c]
jmp 0x46e4e2
lea ecx, [eax + 0x110]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x110]
mov dword [esp + 0xbc], ecx
cmp ecx, 4
jne 0x46eaf2
mov esi, dword [esp + 0x50]
jmp 0x46e4e2
lea ecx, [eax + 0x118]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x118]
mov dword [esp + 0xb8], ecx
cmp ecx, 4
jne 0x46eb17
mov esi, dword [esp + 0x44]
jmp 0x46e4e2
lea ecx, [eax + 0x120]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x120]
mov dword [esp + 0xb4], ecx
cmp ecx, 4
jne 0x46eb3c
mov esi, dword [esp + 0x48]
jmp 0x46e4e2
lea ecx, [eax + 0x128]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x128]
mov dword [esp + 0xb0], ecx
cmp ecx, 4
jne 0x46eb61
mov esi, dword [esp + 0x3c]
jmp 0x46e4e2
lea ecx, [eax + 0x130]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x130]
mov dword [esp + 0xac], ecx
cmp ecx, 4
jne 0x46eb86
mov esi, dword [esp + 0x40]
jmp 0x46e4e2
lea ecx, [eax + 0x138]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x138]
mov dword [esp + 0xa8], ecx
cmp ecx, 4
jne 0x46ebab
mov esi, dword [esp + 0x34]
jmp 0x46e4e2
lea ecx, [eax + 0x140]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x140]
mov dword [esp + 0xa4], ecx
cmp ecx, 4
jne 0x46ebd0
mov esi, dword [esp + 0x38]
jmp 0x46e4e2
lea ecx, [eax + 0x148]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x148]
mov dword [esp + 0xa0], ecx
cmp ecx, 4
jne 0x46ebf5
mov esi, dword [esp + 0x2c]
jmp 0x46e4e2
lea ecx, [eax + 0x150]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x150]
mov dword [esp + 0x9c], ecx
cmp ecx, 4
jne 0x46ec1a
mov esi, dword [esp + 0x30]
jmp 0x46e4e2
lea ecx, [eax + 0x158]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x158]
mov dword [esp + 0x98], ecx
cmp ecx, 4
jne 0x46ec3f
mov esi, dword [esp + 0x24]
jmp 0x46e4e2
lea ecx, [eax + 0x160]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x160]
mov dword [esp + 0x94], ecx
cmp ecx, 4
jne 0x46ec64
mov esi, dword [esp + 0x28]
jmp 0x46e4e2
mov ecx, dword [eax + 0x168]
add eax, 0x168
cmp ecx, 4
jne 0x46ec7b
mov esi, eax
jmp 0x46e4e2
test edx, edx
je 0x46ee73
mov esi, edi
test ebx, ebx
je 0x46ee73
mov esi, dword [esp + 4]
cmp dword [esp + 0xc], 0
je 0x46ee73
mov esi, dword [esp + 0x14]
cmp dword [esp + 8], 0
je 0x46ee73
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x10], 0
je 0x46ee73
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], 0
je 0x46ee73
mov esi, dword [esp + 0x84]
cmp dword [esp + 0xf4], 0
je 0x46ee73
mov esi, dword [esp + 0x80]
cmp dword [esp + 0xf0], 0
je 0x46ee73
mov esi, dword [esp + 0x7c]
cmp dword [esp + 0xec], 0
je 0x46ee73
mov esi, dword [esp + 0x78]
cmp dword [esp + 0xe8], 0
je 0x46ee73
mov esi, dword [esp + 0x74]
cmp dword [esp + 0xe4], 0
je 0x46ee73
mov esi, dword [esp + 0x70]
cmp dword [esp + 0xe0], 0
je 0x46ee73
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0xdc], 0
je 0x46ee73
mov esi, dword [esp + 0x68]
cmp dword [esp + 0xd8], 0
je 0x46ee73
mov esi, dword [esp + 0x64]
cmp dword [esp + 0xd4], 0
je 0x46ee73
mov esi, dword [esp + 0x60]
cmp dword [esp + 0xd0], 0
je 0x46ee73
mov esi, dword [esp + 0x5c]
cmp dword [esp + 0xcc], 0
je 0x46ee73
mov esi, dword [esp + 0x54]
cmp dword [esp + 0xc8], 0
je 0x46ee73
mov esi, dword [esp + 0x58]
cmp dword [esp + 0xc4], 0
je 0x46ee73
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0xc0], 0
je 0x46ee73
mov esi, dword [esp + 0x50]
cmp dword [esp + 0xbc], 0
je 0x46ee73
mov esi, dword [esp + 0x44]
cmp dword [esp + 0xb8], 0
je 0x46ee73
mov esi, dword [esp + 0x48]
cmp dword [esp + 0xb4], 0
je 0x46ee73
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0xb0], 0
je 0x46ee73
mov esi, dword [esp + 0x40]
cmp dword [esp + 0xac], 0
je 0x46ee73
mov esi, dword [esp + 0x34]
cmp dword [esp + 0xa8], 0
je 0x46ee73
mov esi, dword [esp + 0x38]
cmp dword [esp + 0xa4], 0
je 0x46ee73
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0xa0], 0
je 0x46ee73
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x9c], 0
je 0x46ee73
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x98], 0
je 0x46ee73
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x94], 0
je 0x46ee73
mov esi, eax
test ecx, ecx
jne 0x46eeb3
mov dword [esi], 4
push 0x18
call fcn.00489952
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0x3f800000
mov dword [eax], 0x50295c
lea edi, [esi + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
test ecx, ecx
je 0x46e4e7
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x46e4e7
call fcn.0049b545
push dword [eax]
call fcn.004a2acd
add esp, 4
mov esi, eax
call fcn.0049b545
mov edi, dword [eax]
push str..._.._third_party_perfetto_include_perfetto_tracing_track_event_interned_data_index.h
call fcn.004b6780
add esp, 4
push esi
push edi
push str.PERFETTO_CHECK_false_
push str._s__errno:__d___s_
push 0xf4
push eax
push 3
call fcn.004b69f0
add esp, 0x1c
int3