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

Disassembly:
push 0xffffffffffffffff
push 0x10164e00
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
fld qword [0x1016b9a0]
mov eax, dword [esp + 0xd0]
fld qword [esp + 0xc4]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xac]
fcom st(1)
mov edi, dword [esp + 0xc0]
mov dword [edx], 0xffffffff
mov dword [esp + 0x28], eax
mov dword [eax], 0xffffffff
fnstsw ax
xor ebp, ebp
fstp st(1)
test ah, 5
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ebp
jnp 0x10080adb
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10080add
mov ebx, dword [esp + 0xcc]
cmp ebx, 3
ja 0x10080add
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0xcc]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0xcc]
push edx
mov edx, dword [esp + 0xcc]
push eax
mov eax, dword [esp + 0xcc]
push edx
push eax
push ecx
mov dword [esp + 0x3c], ebp
call fcn.10044710
add esp, 0x28
test eax, eax
je 0x10080add
fld1
mov dword [esp + 0x38], ebp
fsub qword [esp + 0xc4]
mov dword [esp + 0x3c], ebp
fnstcw word [esp + 0x1e]
mov dword [esp + 0x40], ebp
fmul qword [0x1016b950]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x8c], eax
fldcw word [esp + 0x8c]
fistp qword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
fldcw word [esp + 0x1e]
mov dword [esp + 0xa4], ebp
lea ecx, [esp + 0x78]
call fcn.100f17a1
mov byte [esp + 0xa4], 1
push ebp
lea ecx, [esp + 0x7c]
push ecx
push 0x1016b5d0
push edi
call fcn.1004a8a0
mov ebp, eax
add esp, 0x10
xor edi, edi
test ebp, ebp
jle 0x10080870
mov bl, 0x64
lea ecx, [ecx]
test edi, edi
mov byte [esp + 0x8c], 0x25
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], 0x7c
mov byte [esp + 0x8f], 0x25
mov byte [esp + 0x90], bl
mov byte [esp + 0x91], 0x7c
mov byte [esp + 0x92], 0x25
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], 0
jl 0x1008089c
cmp edi, dword [esp + 0x80]
jge 0x1008089c
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + edi*4]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x98]
push edx
push eax
call fcn.10101d65
xor eax, eax
add esp, 0x14
cmp dword [esp + 0x74], eax
lea ecx, [esp + 0x6c]
sete al
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], eax
call fcn.100cca10
add edi, 1
cmp edi, ebp
jl 0x100807c0
mov ebx, dword [esp + 0xcc]
test ebp, ebp
jne 0x100808a1
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x78]
call fcn.100f1ae9
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.1005a7b0
jmp 0x10080add
jmp fcn.100ee536
test ebx, ebx
jne 0x1008091a
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x10080a89
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x1008090c
jmp 0x100808c0
mov edx, ebp
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x14]
mov byte [edx + edi*4 + 3], 0
mov ecx, dword [esp + 0x4c]
lea eax, [edx + edi*4]
mov edx, dword [esp + 0x48]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.10055ec0
add esp, 0x20
test eax, eax
jne 0x10080a69
mov eax, dword [esp + 0x48]
add edi, 1
cmp edi, eax
jl 0x100808c0
add ebp, 1
cmp ebp, dword [esp + 0x4c]
jl 0x100808b5
jmp 0x10080a89
cmp ebx, 1
jne 0x10080996
mov ebp, dword [esp + 0x4c]
add ebp, 0xffffffff
js 0x10080a89
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x1008098c
jmp 0x10080940
mov eax, ebp
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov byte [eax + edi*4 + 3], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.10055ec0
add esp, 0x20
test eax, eax
jne 0x10080a69
mov eax, dword [esp + 0x48]
add edi, 1
cmp edi, eax
jl 0x10080940
sub ebp, 1
jns 0x10080930
jmp 0x10080a89
cmp ebx, 2
jne 0x10080a04
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x10080a89
mov edi, dword [esp + 0x48]
add edi, 0xffffffff
js 0x100809f6
mov eax, ebp
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov byte [eax + edi*4 + 3], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.10055ec0
add esp, 0x20
test eax, eax
jne 0x10080a69
sub edi, 1
jns 0x100809b0
add ebp, 1
cmp ebp, dword [esp + 0x4c]
jl 0x100809a7
jmp 0x10080a89
cmp ebx, 3
jne 0x10080a89
mov ebp, dword [esp + 0x4c]
add ebp, 0xffffffff
js 0x10080a89
mov edi, dword [esp + 0x48]
add edi, 0xffffffff
js 0x10080a62
nop
mov eax, ebp
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov byte [eax + edi*4 + 3], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.10055ec0
add esp, 0x20
test eax, eax
jne 0x10080a69
sub edi, 1
jns 0x10080a20
sub ebp, 1
jns 0x10080a16
jmp 0x10080a89
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add edi, edx
mov edx, dword [esp + 0x2c]
add ebp, ecx
mov dword [eax], edi
mov dword [esp + 0x20], 1
mov dword [edx], ebp
mov eax, dword [esp + 0x14]
push eax
call fcn.100ff58b
xor esi, esi
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x78]
call fcn.100f1ae9
mov dword [esp + 0xa4], 0xffffffff
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x10080ac9
push eax
call fcn.100ee438
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jmp 0x10080adf
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.100ffa66
add esp, 0x94
ret