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

Disassembly:
push 0xffffffffffffffff
push 0x10165840
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
fld qword [0x1016b598]
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 0x1008197b
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1008197d
mov ebx, dword [esp + 0xcc]
cmp ebx, 3
ja 0x1008197d
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.10045150
add esp, 0x28
test eax, eax
je 0x1008197d
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 [0x1016b960]
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.100f210c
mov byte [esp + 0xa4], 1
push ebp
lea ecx, [esp + 0x7c]
push ecx
push 0x1016b5e4
push edi
call fcn.1004b350
mov ebp, eax
add esp, 0x10
xor edi, edi
test ebp, ebp
jle 0x10081710
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 0x1008173c
cmp edi, dword [esp + 0x80]
jge 0x1008173c
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.101026c5
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.100cd8e0
add edi, 1
cmp edi, ebp
jl 0x10081660
mov ebx, dword [esp + 0xcc]
test ebp, ebp
jne 0x10081741
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x78]
call fcn.100f2454
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.1000d2b0
jmp 0x1008197d
jmp fcn.100eeea6
test ebx, ebx
jne 0x100817ba
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x10081929
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x100817ac
jmp 0x10081760
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.10056a00
add esp, 0x20
test eax, eax
jne 0x10081909
mov eax, dword [esp + 0x48]
add edi, 1
cmp edi, eax
jl 0x10081760
add ebp, 1
cmp ebp, dword [esp + 0x4c]
jl 0x10081755
jmp 0x10081929
cmp ebx, 1
jne 0x10081836
mov ebp, dword [esp + 0x4c]
add ebp, 0xffffffff
js 0x10081929
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x1008182c
jmp 0x100817e0
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.10056a00
add esp, 0x20
test eax, eax
jne 0x10081909
mov eax, dword [esp + 0x48]
add edi, 1
cmp edi, eax
jl 0x100817e0
sub ebp, 1
jns 0x100817d0
jmp 0x10081929
cmp ebx, 2
jne 0x100818a4
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x10081929
mov edi, dword [esp + 0x48]
add edi, 0xffffffff
js 0x10081896
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.10056a00
add esp, 0x20
test eax, eax
jne 0x10081909
sub edi, 1
jns 0x10081850
add ebp, 1
cmp ebp, dword [esp + 0x4c]
jl 0x10081847
jmp 0x10081929
cmp ebx, 3
jne 0x10081929
mov ebp, dword [esp + 0x4c]
add ebp, 0xffffffff
js 0x10081929
mov edi, dword [esp + 0x48]
add edi, 0xffffffff
js 0x10081902
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.10056a00
add esp, 0x20
test eax, eax
jne 0x10081909
sub edi, 1
jns 0x100818c0
sub ebp, 1
jns 0x100818b6
jmp 0x10081929
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.100ffef8
xor esi, esi
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x78]
call fcn.100f2454
mov dword [esp + 0xa4], 0xffffffff
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x10081969
push eax
call fcn.100eedad
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jmp 0x1008197f
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.101003d3
add esp, 0x94
ret