Function at 0x10099830
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 [0x10146014]
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 0x10099e64
lea edx, [eax + 0x70]
mov edi, dword [eax + 0x70]
cmp edi, 0x1c
je 0x10099e62
lea ebx, [eax + 0x78]
mov dword [esp + 8], ebx
mov ebx, dword [eax + 0x78]
cmp ebx, 0x1c
je 0x1009a046
mov dword [esp + 0x14], edx
lea edx, [eax + 0x80]
mov dword [esp + 4], edx
mov edx, dword [eax + 0x80]
cmp edx, 0x1c
je 0x1009a04f
mov dword [esp + 0xc], edx
lea edx, [eax + 0x88]
mov dword [esp], edx
mov edx, dword [eax + 0x88]
cmp edx, 0x1c
je 0x1009a058
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 0x10099e62
mov dword [esp + 0xdc], edx
lea edx, [eax + 0x98]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x98]
cmp edx, 0x1c
je 0x1009a069
mov dword [esp + 0xd8], edx
lea edx, [eax + 0xa0]
mov ebx, dword [eax + 0xa0]
mov dword [esp + 0xd4], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0xd0], edx
lea edx, [eax + 0xa8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xa8]
cmp edx, 0x1c
je 0x1009a0e2
mov dword [esp + 0xcc], edx
lea edx, [eax + 0xb0]
mov ebx, dword [eax + 0xb0]
mov dword [esp + 0xc8], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0xc4], edx
lea edx, [eax + 0xb8]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xb8]
cmp edx, 0x1c
je 0x1009a176
mov dword [esp + 0xc0], edx
lea edx, [eax + 0xc0]
mov ebx, dword [eax + 0xc0]
mov dword [esp + 0xbc], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0xb8], edx
lea edx, [eax + 0xc8]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0xc8]
cmp edx, 0x1c
je 0x1009a187
mov dword [esp + 0xb4], edx
lea edx, [eax + 0xd0]
mov ebx, dword [eax + 0xd0]
mov dword [esp + 0xb0], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0xac], edx
lea edx, [eax + 0xd8]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0xd8]
cmp edx, 0x1c
je 0x1009a1c5
mov dword [esp + 0xa8], edx
lea edx, [eax + 0xe0]
mov ebx, dword [eax + 0xe0]
mov dword [esp + 0xa4], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0xa0], edx
lea edx, [eax + 0xe8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xe8]
cmp edx, 0x1c
je 0x1009a1dd
mov dword [esp + 0x9c], edx
lea edx, [eax + 0xf0]
mov ebx, dword [eax + 0xf0]
mov dword [esp + 0x98], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0x94], edx
lea edx, [eax + 0xf8]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0xf8]
cmp edx, 0x1c
je 0x1009a1e6
mov dword [esp + 0x90], edx
lea edx, [eax + 0x100]
mov ebx, dword [eax + 0x100]
mov dword [esp + 0x8c], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0x88], edx
lea edx, [eax + 0x108]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x108]
cmp edx, 0x1c
je 0x1009a1ef
mov dword [esp + 0x84], edx
lea edx, [eax + 0x110]
mov ebx, dword [eax + 0x110]
mov dword [esp + 0x80], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0x7c], edx
lea edx, [eax + 0x118]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x118]
cmp edx, 0x1c
je 0x1009a1f8
mov dword [esp + 0x78], edx
lea edx, [eax + 0x120]
mov ebx, dword [eax + 0x120]
mov dword [esp + 0x74], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0x70], edx
lea edx, [eax + 0x128]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x128]
cmp edx, 0x1c
je 0x1009a201
mov dword [esp + 0x6c], edx
lea edx, [eax + 0x130]
mov ebx, dword [eax + 0x130]
mov dword [esp + 0x68], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0x64], edx
lea edx, [eax + 0x138]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x138]
cmp edx, 0x1c
je 0x1009a20a
mov dword [esp + 0x60], edx
lea edx, [eax + 0x140]
mov ebx, dword [eax + 0x140]
mov dword [esp + 0x5c], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0x58], edx
lea edx, [eax + 0x148]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x148]
cmp edx, 0x1c
je 0x1009a213
mov dword [esp + 0x54], edx
lea edx, [eax + 0x150]
mov ebx, dword [eax + 0x150]
mov dword [esp + 0x50], ebx
cmp ebx, 0x1c
je 0x10099e62
mov dword [esp + 0x4c], edx
lea edx, [eax + 0x158]
mov dword [esp + 0x18], edx
mov ebx, dword [eax + 0x158]
cmp ebx, 0x1c
je 0x1009a21c
mov edx, dword [eax + 0x160]
add eax, 0x160
cmp edx, 0x1c
je 0x1009a225
test ecx, ecx
mov ecx, dword [esp + 0x10]
je 0x10099e05
mov esi, dword [esp + 0x14]
test edi, edi
je 0x10099e05
mov esi, dword [esp + 8]
test ecx, ecx
je 0x10099e05
mov esi, dword [esp + 4]
cmp dword [esp + 0xc], 0
je 0x10099e05
mov esi, dword [esp]
cmp dword [esp + 0xe4], 0
je 0x10099e05
mov esi, dword [esp + 0xdc]
cmp dword [esp + 0xe0], 0
je 0x10099e05
mov esi, dword [esp + 0x48]
cmp dword [esp + 0xd8], 0
je 0x10099e05
mov esi, dword [esp + 0xd0]
cmp dword [esp + 0xd4], 0
je 0x10099e05
mov esi, dword [esp + 0x44]
cmp dword [esp + 0xcc], 0
je 0x10099e05
mov esi, dword [esp + 0xc4]
cmp dword [esp + 0xc8], 0
je 0x10099e05
mov esi, dword [esp + 0x40]
cmp dword [esp + 0xc0], 0
je 0x10099e05
mov esi, dword [esp + 0xb8]
cmp dword [esp + 0xbc], 0
je 0x10099e05
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0xb4], 0
je 0x10099e05
mov esi, dword [esp + 0xac]
cmp dword [esp + 0xb0], 0
je 0x10099e05
mov esi, dword [esp + 0x38]
cmp dword [esp + 0xa8], 0
je 0x10099e05
mov esi, dword [esp + 0xa0]
cmp dword [esp + 0xa4], 0
je 0x10099e05
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x9c], 0
je 0x10099e05
mov esi, dword [esp + 0x94]
cmp dword [esp + 0x98], 0
je 0x10099e05
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x90], 0
je 0x10099e05
mov esi, dword [esp + 0x88]
cmp dword [esp + 0x8c], 0
je 0x10099e05
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x84], 0
je 0x10099e05
mov esi, dword [esp + 0x7c]
cmp dword [esp + 0x80], 0
je 0x10099e05
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x78], 0
je 0x10099e05
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x74], 0
je 0x10099e05
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x6c], 0
je 0x10099e05
mov esi, dword [esp + 0x64]
cmp dword [esp + 0x68], 0
je 0x10099e05
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x60], 0
je 0x10099e05
mov esi, dword [esp + 0x58]
cmp dword [esp + 0x5c], 0
je 0x10099e05
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x54], 0
je 0x10099e05
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0
je 0x10099e05
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x10099e05
mov esi, eax
test edx, edx
jne 0x1009a325
mov dword [esi], 0x1c
lea ebx, [esi + 4]
push 0x44
call fcn.100c1c01
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], 0x101346c0
call fcn.10057890
mov ecx, dword [esi + 4]
mov dword [esi + 4], edi
test ecx, ecx
je 0x10099e69
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 0x10099e69
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.100afc30
test eax, eax
je 0x1009a22c
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 0x1009a17f
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 0x1009a039
mov edx, dword [ebp + 0x10]
mov edi, edx
cmp esi, edx
ja 0x10099ef2
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 0x10099f38
lea eax, [esi - 1]
mov dword [esp + 0xc], eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x10099f38
mov eax, dword [ebx + 4]
cmp eax, edx
jne 0x10099f1e
cmp dword [ebx + 8], edx
je 0x1009a015
jmp 0x10099f06
cmp ecx, 1
jbe 0x1009a060
cmp eax, esi
jb 0x10099f31
xor edx, edx
div esi
mov eax, edx
mov edx, dword [ebp + 0x10]
cmp eax, edi
je 0x10099f13
mov ebx, dword [esp]
inc ebx
push 0x10
call fcn.100c1c01
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 [0x10135250]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ecx + 0x14]
test esi, esi
je 0x1009a0eb
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x1009a0eb
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + edi*4]
test eax, eax
jne 0x1009a072
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 0x1009a083
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x1009a234
cmp eax, esi
jb 0x1009a003
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 0x1009a081
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.100c2603
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 0x10099ef2
mov esi, dword [esp + 8]
jmp 0x10099e64
mov esi, dword [esp + 4]
jmp 0x10099e64
mov esi, dword [esp]
jmp 0x10099e64
and eax, dword [esp + 0xc]
jmp 0x10099f34
mov esi, dword [esp + 0x48]
jmp 0x10099e64
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.10045430
add esp, 8
mov dword [esp + 8], eax
mov ecx, esi
call fcn.10068330
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.10046030
add esp, 0xc
mov esi, dword [ebp + 8]
mov byte [esi], 1
mov dword [esi + 4], edi
jmp 0x1009a021
mov esi, dword [esp + 0x44]
jmp 0x10099e64
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.100ea6d0
add esp, 8
fstp dword [esp + 0xec]
movss xmm0, dword [esp + 0xec]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x1013525c]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
cmp esi, 3
jae 0x1009a1ce
xor eax, eax
inc eax
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov edi, 2
cmp eax, 1
jne 0x1009a190
cmp edi, esi
jbe 0x1009a23b
mov ecx, dword [esp + 8]
push edi
call fcn.10047230
mov eax, dword [esp + 4]
mov esi, dword [eax + 8]
lea edi, [esi - 1]
test esi, edi
jne 0x1009a1af
mov edx, dword [ebp + 0x10]
and edi, edx
jmp 0x10099fa3
mov esi, dword [esp + 0x40]
jmp 0x10099e64
xor edi, edi
dec edi
jmp 0x10099f3b
mov esi, dword [esp + 0x3c]
jmp 0x10099e64
lea ecx, [eax - 1]
test eax, ecx
je 0x1009a2f9
push eax
call fcn.10078200
add esp, 4
mov edi, eax
mov eax, dword [esp + 4]
mov esi, dword [eax + 8]
jmp 0x1009a14c
mov eax, dword [ebp + 0x10]
cmp esi, eax
ja 0x1009a300
xor edx, edx
div esi
mov edi, edx
jmp 0x10099fa3
mov esi, dword [esp + 0x38]
jmp 0x10099e64
lea edi, [esi - 1]
xor eax, eax
test esi, edi
setne al
jmp 0x1009a13b
mov esi, dword [esp + 0x34]
jmp 0x10099e64
mov esi, dword [esp + 0x30]
jmp 0x10099e64
mov esi, dword [esp + 0x2c]
jmp 0x10099e64
mov esi, dword [esp + 0x28]
jmp 0x10099e64
mov esi, dword [esp + 0x24]
jmp 0x10099e64
mov esi, dword [esp + 0x20]
jmp 0x10099e64
mov esi, dword [esp + 0x1c]
jmp 0x10099e64
mov esi, dword [esp + 0x18]
jmp 0x10099e64
mov esi, eax
jmp 0x10099e64
mov byte [esi], 0
jmp 0x1009a021
and eax, ecx
jmp 0x1009a003
jae 0x1009a15e
mov dword [esp], ebx
mov eax, dword [esp + 4]
movss xmm0, dword [eax + 0x10]
orpd xmm0, xmmword [0x10135240]
subsd xmm0, qword [0x10135250]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x14]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.100ea6d0
add esp, 8
fstp dword [esp + 0xe8]
movss xmm0, dword [esp + 0xe8]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x1013525c]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x1009a307
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 0x1009a307
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 0x1009a310
mov edi, eax
jmp 0x1009a14c
mov edi, eax
jmp 0x10099fa3
push edx
call fcn.10078200
add esp, 4
cmp edi, eax
cmovbe edi, eax
cmp edi, esi
mov ebx, dword [esp]
jb 0x1009a154
jmp 0x1009a15e
call fcn.100d3df2
push dword [eax]
call fcn.100d9add
add esp, 4
mov esi, eax
call fcn.100d3df2
mov edi, dword [eax]
push str....._third_partyperfettoincludeperfetto_tracing_track_event_interned_data_index.h
call fcn.100f26d0
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.100f2930
add esp, 0x1c
int3