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

Disassembly:
push 0xffffffffffffffff
push 0x101766d0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
fld qword [0x1017bbb0]
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 0x1008edfb
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1008edfd
mov ebx, dword [esp + 0xcc]
cmp ebx, 3
ja 0x1008edfd
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.10057d00
add esp, 0x28
test eax, eax
je 0x1008edfd
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 [0x1017bb60]
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.10102d5b
mov byte [esp + 0xa4], 1
push ebp
lea ecx, [esp + 0x7c]
push ecx
push 0x1017ba54
push edi
call fcn.1005deb0
mov ebp, eax
add esp, 0x10
xor edi, edi
test ebp, ebp
jle 0x1008eb90
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 0x1008ebbc
cmp edi, dword [esp + 0x80]
jge 0x1008ebbc
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.10113843
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.1007da30
add edi, 1
cmp edi, ebp
jl 0x1008eae0
mov ebx, dword [esp + 0xcc]
test ebp, ebp
jne 0x1008ebc1
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x78]
call fcn.101030a3
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.10070720
jmp 0x1008edfd
jmp fcn.10100646
test ebx, ebx
jne 0x1008ec3a
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x1008eda9
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x1008ec2c
jmp 0x1008ebe0
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.100694b0
add esp, 0x20
test eax, eax
jne 0x1008ed89
mov eax, dword [esp + 0x48]
add edi, 1
cmp edi, eax
jl 0x1008ebe0
add ebp, 1
cmp ebp, dword [esp + 0x4c]
jl 0x1008ebd5
jmp 0x1008eda9
cmp ebx, 1
jne 0x1008ecb6
mov ebp, dword [esp + 0x4c]
add ebp, 0xffffffff
js 0x1008eda9
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x1008ecac
jmp 0x1008ec60
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.100694b0
add esp, 0x20
test eax, eax
jne 0x1008ed89
mov eax, dword [esp + 0x48]
add edi, 1
cmp edi, eax
jl 0x1008ec60
sub ebp, 1
jns 0x1008ec50
jmp 0x1008eda9
cmp ebx, 2
jne 0x1008ed24
xor ebp, ebp
cmp dword [esp + 0x4c], ebp
jle 0x1008eda9
mov edi, dword [esp + 0x48]
add edi, 0xffffffff
js 0x1008ed16
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.100694b0
add esp, 0x20
test eax, eax
jne 0x1008ed89
sub edi, 1
jns 0x1008ecd0
add ebp, 1
cmp ebp, dword [esp + 0x4c]
jl 0x1008ecc7
jmp 0x1008eda9
cmp ebx, 3
jne 0x1008eda9
mov ebp, dword [esp + 0x4c]
add ebp, 0xffffffff
js 0x1008eda9
mov edi, dword [esp + 0x48]
add edi, 0xffffffff
js 0x1008ed82
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.100694b0
add esp, 0x20
test eax, eax
jne 0x1008ed89
sub edi, 1
jns 0x1008ed40
sub ebp, 1
jns 0x1008ed36
jmp 0x1008eda9
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.1011163c
xor esi, esi
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x78]
call fcn.101030a3
mov dword [esp + 0xa4], 0xffffffff
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1008ede9
push eax
call fcn.10100548
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jmp 0x1008edff
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.10111b17
add esp, 0x94
ret