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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x88], eax
push 0x10082190
call fcn.1015584d
add esp, 4
mov dword [0x101bfbe4], 1
mov byte [0x101bfbe0], 1
lea esi, [esp + 0x70]
mov ecx, esi
push str.CrashpadMainThread
call fcn.10035a6a
push esi
call fcn.10083bd0
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x1008fafd
push dword [esp + 0x70]
call fcn.10145bd4
add esp, 4
xor eax, eax
dec eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
test ebx, ebx
je 0x10090247
mov esi, dword [ebp + 8]
push ebx
call fcn.10163870
add esp, 4
lea edi, [esp + 0x64]
mov ecx, esi
push eax
push ebx
push edi
call fcn.1005ae90
movzx ebx, byte [edi + 0xb]
mov eax, ebx
test bl, bl
jns 0x1008fb3c
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1008fb95
mov eax, 0x8000
push eax
call fcn.10145ba4
add esp, 4
mov ecx, 0x8000
push ecx
push 0
mov dword [esp + 8], eax
push eax
call fcn.10149430
add esp, 0xc
test bl, bl
jns 0x1008fb73
mov edi, dword [esp + 0x64]
test edi, edi
je 0x10090250
push edi
call fcn.10163870
add esp, 4
mov ebx, dword [esp]
mov ecx, ebx
push eax
push edi
push 5
push str.ptype
call fcn.10090254
mov dword [0x102d301c], ebx
lea ecx, [esp + 0x58]
xor eax, eax
dec eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
add esi, 0xc
push esi
call fcn.1005a040
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.10163870
add esp, 4
xor edi, edi
lea esi, [esp + 0x38]
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
push esi
push eax
push ebx
call fcn.10078c10
add esp, 0xc
mov ecx, esi
push 2
push 0x101a03ea
push edi
call fcn.10056d64
mov ecx, dword [eax + 8]
lea esi, [esp + 0x70]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov ecx, esi
push 1
push 0x101a3214
call fcn.1005725a
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x48], xmm0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], edi
cmp byte [esi + 0xb], 0
jns 0x1008fc34
push dword [esp + 0x70]
call fcn.10145bd4
add esp, 4
mov ebx, dword [ebp + 0x14]
cmp byte [esp + 0x43], 0
jns 0x1008fc4a
push dword [esp + 0x38]
call fcn.10145bd4
add esp, 4
test ebx, ebx
je 0x1009024a
push ebx
call fcn.10163870
add esp, 4
xor edi, edi
lea esi, [esp + 0x28]
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
push esi
push eax
push ebx
call fcn.10078c10
add esp, 0xc
mov ecx, esi
push 2
push 0x101a03ea
push edi
call fcn.10056d64
mov ecx, dword [eax + 8]
lea esi, [esp + 0x70]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov ecx, esi
push 1
push 0x101a3214
call fcn.1005725a
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x38], xmm0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], edi
cmp byte [esi + 0xb], 0
jns 0x1008fcd6
push dword [esp + 0x70]
call fcn.10145bd4
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1008fce9
push dword [esp + 0x28]
call fcn.10145bd4
add esp, 4
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
cmp ebx, eax
je 0x1008fe75
lea edi, [esp + 0x48]
mov dword [esp], eax
movzx eax, byte [esp + 0x53]
mov ecx, edi
test al, al
jns 0x1008fd13
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
movzx edx, byte [ebx + 0xb]
mov esi, ebx
test dl, dl
jns 0x1008fd22
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
push 0
push eax
push ecx
push edx
push esi
call fcn.100830c0
add esp, 0x14
test al, al
jne 0x1008fd9c
movzx eax, byte [esp + 0x43]
lea ecx, [esp + 0x38]
test al, al
jns 0x1008fd49
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
movzx edx, byte [ebx + 0xb]
mov esi, ebx
test dl, dl
jns 0x1008fd58
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
push 0
push eax
push ecx
push edx
push esi
call fcn.100830c0
add esp, 0x14
test al, al
jne 0x1008fd9c
movzx eax, byte [ebx + 0xb]
mov ecx, eax
test al, al
jns 0x1008fd77
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1008fd89
mov ecx, ebx
test al, al
jns 0x1008fd83
mov ecx, dword [ebx]
cmp word [ecx], 0x2f
je 0x1008fd9c
add ebx, 0xc
mov eax, dword [esp]
cmp ebx, eax
jne 0x1008fd00
jmp 0x1008fe75
mov eax, dword [esp]
cmp ebx, eax
je 0x1008fe75
lea edi, [ebx + 0xc]
cmp edi, eax
je 0x1008fe77
movzx eax, byte [esp + 0x53]
lea ecx, [esp + 0x48]
test al, al
jns 0x1008fdc7
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
movzx edx, byte [edi + 0xb]
mov esi, edi
test dl, dl
jns 0x1008fdd6
mov esi, dword [edi]
mov edx, dword [edi + 4]
push 0
push eax
push ecx
push edx
push esi
call fcn.100830c0
add esp, 0x14
test al, al
jne 0x1008fe67
movzx eax, byte [esp + 0x43]
lea ecx, [esp + 0x38]
test al, al
jns 0x1008fdfd
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
movzx edx, byte [edi + 0xb]
mov esi, edi
test dl, dl
jns 0x1008fe0c
mov esi, dword [edi]
mov edx, dword [edi + 4]
push 0
push eax
push ecx
push edx
push esi
call fcn.100830c0
add esp, 0x14
test al, al
jne 0x1008fe67
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1008fe29
mov eax, dword [edi + 4]
test eax, eax
je 0x1008fe3d
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1008fe37
mov eax, dword [edi]
cmp word [eax], 0x2f
je 0x1008fe67
cmp byte [ebx + 0xb], 0
jns 0x1008fe4d
push dword [ebx]
call fcn.10145bd4
add esp, 4
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [edi]
movsd qword [ebx], xmm0
mov byte [edi + 0xb], 0
mov word [edi], 0
add ebx, 0xc
add edi, 0xc
cmp edi, dword [esp]
jne 0x1008fdb2
jmp 0x1008fe77
mov ebx, eax
lea edi, [esp + 0x58]
mov ecx, edi
push dword [edi + 4]
push ebx
lea eax, [esp + 0x78]
push eax
call fcn.10034a9e
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
imul ebx, eax, 0xaaaaaaab
lea eax, [ebx + 1]
cmp eax, 0x40000000
lea eax, [ebx*4 + 4]
mov ecx, 0xffffffff
cmovae eax, ecx
push eax
call fcn.10145c03
add esp, 4
mov esi, eax
xor eax, eax
lea ecx, [esp + 0x28]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push ebx
call fcn.10039e8c
mov ebx, dword [edi]
mov edi, dword [edi + 4]
cmp edi, ebx
mov dword [esp + 4], esi
je 0x10090102
xor ecx, ecx
mov dword [esp], ecx
lea edi, [ecx + ecx*2]
movzx eax, byte [ebx + edi*4 + 0xb]
test al, al
jns 0x1008fefa
mov ecx, dword [ebx + edi*4]
mov eax, dword [ebx + edi*4 + 4]
jmp 0x1008fefd
lea ecx, [ebx + edi*4]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call fcn.10078390
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jae 0x1008ff4b
test eax, eax
je 0x10090241
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 0x18]
movsd qword [eax], xmm0
add eax, 0xc
mov dword [esp + 0x2c], eax
jmp 0x10090083
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x28]
sub eax, edx
sar eax, 2
imul edi, eax, 0xaaaaaaab
lea eax, [edi + 1]
cmp eax, 0x15555556
jae 0x10090236
sub ecx, edx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
lea edx, [ecx + ecx]
cmp edx, eax
cmova eax, edx
cmp ecx, 0xaaaaaaa
mov ecx, 0x15555555
cmovae eax, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x80], ecx
test eax, eax
je 0x1008ffaa
push eax
push ecx
call fcn.10037dae
add esp, 8
mov ecx, edx
jmp 0x1008ffae
xor eax, eax
xor ecx, ecx
lea esi, [edi + edi*2]
shl esi, 2
add esi, eax
je 0x10090244
mov edx, dword [esp + 0x20]
mov dword [esi + 8], edx
movsd xmm0, qword [esp + 0x18]
movsd qword [esi], xmm0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edx, edi
mov dword [esp + 0x10], eax
je 0x1009002a
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov ebx, esi
xor ecx, ecx
mov esi, dword [edx - 4]
mov dword [ebx - 4], esi
movsd xmm0, qword [edx - 0xc]
movsd qword [ebx - 0xc], xmm0
add ebx, 0xfffffff4
mov dword [edx - 8], ecx
mov dword [edx - 0xc], ecx
mov dword [edx - 4], ecx
add edx, 0xfffffff4
cmp edx, edi
jne 0x1008fff5
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x10090032
mov edx, edi
mov ebx, esi
mov eax, ecx
mov ecx, esi
lea esi, [eax + eax*2]
mov eax, dword [esp + 0x10]
lea esi, [eax + esi*4]
mov dword [esp + 0x28], ebx
add ecx, 0xc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], edx
lea ecx, [esp + 0x70]
call fcn.10037d64
cmp byte [esp + 0x23], 0
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x14]
jns 0x10090083
push dword [esp + 0x18]
call fcn.10145bd4
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov edx, dword [esp]
cmp ecx, edx
jbe 0x1009023b
mov ecx, edx
lea eax, [eax + edi*4]
cmp byte [eax + 0xb], 0
jns 0x100900ae
mov eax, dword [eax]
mov dword [esi + ecx*4], eax
inc ecx
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov eax, edi
sub eax, ebx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp ecx, eax
jb 0x1008fee2
mov dword [esi + eax*4], 0
cmp edi, ebx
je 0x10090108
add edi, 0xfffffff4
test edi, edi
je 0x1009023e
cmp byte [edi + 0xb], 0
jns 0x100900f5
push dword [edi]
call fcn.10145bd4
add esp, 4
lea eax, [edi - 0xc]
cmp edi, ebx
mov edi, eax
jne 0x100900dd
mov edi, ebx
jmp 0x10090108
mov dword [esi], 0
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x5c], edi
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x10090128
mov eax, dword [esi + 4]
test eax, eax
je 0x1009016c
push 0x10
call fcn.10145ba4
add esp, 4
mov ebx, eax
mov dword [eax], 0x1019ba7c
lea ecx, [eax + 4]
push esi
call fcn.1005b2a0
push 4
call fcn.10145ba4
add esp, 4
test eax, eax
je 0x1009024d
mov ecx, eax
add ecx, 4
mov dword [eax], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea ecx, [esp + 0x70]
push ecx
push dword [esp + 8]
push eax
call fcn.100ceba8
add esp, 0xc
mov esi, eax
mov edi, dword [esp + 0x70]
test edi, edi
je 0x100901c2
mov ebx, dword [esp + 0x74]
mov eax, edi
cmp ebx, edi
je 0x100901b5
add ebx, 0xfffffffc
mov ecx, ebx
call fcn.1009033b
cmp ebx, edi
jne 0x100901a3
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], edi
push eax
call fcn.10145bd4
add esp, 4
lea ecx, [esp + 0x28]
call fcn.10034a50
mov eax, dword [esp + 4]
test eax, eax
je 0x100901dc
push eax
call fcn.10145c0c
add esp, 4
cmp byte [esp + 0x43], 0
jns 0x100901ef
push dword [esp + 0x38]
call fcn.10145bd4
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x10090202
push dword [esp + 0x48]
call fcn.10145bd4
add esp, 4
lea ecx, [esp + 0x58]
call fcn.10034a50
cmp byte [esp + 0x6f], 0
jns 0x1009021e
push dword [esp + 0x64]
call fcn.10145bd4
add esp, 4
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.1015b4f0
int3
int3
int3
int3
int3
int3
int3
int3