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

Disassembly:
push 0xffffffffffffffff
push 0x1017668c
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
fld qword [0x1017bbb0]
mov esi, dword [esp + 0xec]
fld qword [esp + 0x104]
mov ebp, dword [esp + 0x100]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1008e932
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x1008e934
push 0x1017bb9c
push ebp
call fcn.10112130
add esp, 8
test eax, eax
je 0x1008e1f0
mov al, 0xd2
mov byte [esp + 0xbe], al
mov byte [esp + 0xc2], al
mov al, 0xd6
mov byte [esp + 0xcb], al
mov byte [esp + 0xce], al
lea eax, [esp + 0xbc]
mov dl, 0xc9
mov cl, 0xab
push eax
mov bl, 0xd5
push esi
mov byte [esp + 0xc4], 0xd7
mov byte [esp + 0xc5], 0xa2
mov byte [esp + 0xc7], 0xe2
mov byte [esp + 0xc8], 0x2c
mov byte [esp + 0xc9], bl
mov byte [esp + 0xcb], dl
mov byte [esp + 0xcc], cl
mov byte [esp + 0xcd], 0xbd
mov byte [esp + 0xce], 0xd3
mov byte [esp + 0xcf], 0xbf
mov byte [esp + 0xd0], 0xda
mov byte [esp + 0xd1], 0xb2
mov byte [esp + 0xd2], 0xbb
mov byte [esp + 0xd4], 0xa7
mov byte [esp + 0xd5], 0xb3
mov byte [esp + 0xd7], 0x48
mov byte [esp + 0xd8], 0x53
mov byte [esp + 0xd9], 0x56
mov byte [esp + 0xda], 0xd1
mov byte [esp + 0xdb], bl
mov byte [esp + 0xdc], dl
mov byte [esp + 0xdd], cl
mov byte [esp + 0xde], 0x21
mov byte [esp + 0xdf], 0
call fcn.10051ef0
add esp, 8
jmp 0x1008e934
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x108]
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x108]
push ecx
push edx
push eax
xor edi, edi
push esi
mov dword [esp + 0x90], edi
call fcn.10057d00
add esp, 0x28
test eax, eax
je 0x1008e934
fld1
mov dword [esp + 0x1c], edi
fsub qword [esp + 0x104]
mov dword [esp + 0x20], edi
fnstcw word [esp + 0x14]
mov dword [esp + 0x24], edi
movzx eax, word [esp + 0x14]
fmul qword [0x1017bb60]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0xb4]
mov ebx, dword [esp + 0xb4]
fldcw word [esp + 0x14]
mov dword [esp + 0xe4], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0xe4], 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe4], 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xe4], 3
xor esi, esi
cmp ebp, edi
mov dword [esp + 0x70], 1
je 0x1008e45f
cmp byte [ebp], 0x40
jne 0x1008e2f4
add ebp, 1
mov dword [esp + 0x70], edi
cmp ebp, edi
je 0x1008e45f
mov dword [esp + 0x28], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], edi
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xbc]
push eax
push ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0xc4], 0x25
mov byte [esp + 0xc5], 0x78
mov byte [esp + 0xc6], 0x2d
mov byte [esp + 0xc7], 0x25
mov byte [esp + 0xc8], 0x78
mov byte [esp + 0xc9], 0
call fcn.10113843
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1007d7d0
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
call fcn.1007d7d0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
call fcn.1007d7d0
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x34]
call fcn.1007d7d0
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x1008e3b0
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008e3b9
call fcn.1011323c
mov ecx, dword [esp + 0x44]
movzx edx, byte [esp + 0x16]
add edx, ebx
mov dword [ecx + esi*4], edx
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x1008e3d8
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008e3e1
call fcn.1011323c
mov ecx, dword [esp + 0x54]
movzx eax, byte [esp + 0x15]
add eax, ebx
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x34]
cmp ecx, edi
je 0x1008e400
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008e409
call fcn.1011323c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
and edx, 0xff
add edx, ebx
mov dword [ecx + esi*4], edx
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x1008e42d
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008e436
call fcn.1011323c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push 0x1017ba38
push ebp
mov dword [ecx + esi*4], eax
call fcn.10112130
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x1008e454
add ebp, 1
add esi, 1
cmp ebp, edi
jne 0x1008e310
cmp dword [esp + 0x94], edi
mov dword [esp + 0x2c], edi
jle 0x1008e7d0
mov eax, dword [esp + 0x90]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x28], ecx
jle 0x1008e7b8
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x78]
add edx, dword [esp + 0x68]
mov byte [edx + ecx*4 + 3], 0
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x1c]
cmp edx, edi
mov dword [esp + 0x6c], eax
je 0x1008e7d0
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
je 0x1008e7d0
xor esi, esi
mov dword [esp + 0x14], esi
cmp edx, edi
mov ecx, dword [esp + 0x34]
je 0x1008e79e
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x1008e79e
cmp ecx, edi
je 0x1008e4ed
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008e4fa
call fcn.1011323c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
lea ebp, [ecx + esi*4]
mov ecx, dword [esp + 0x54]
cmp ecx, edi
je 0x1008e512
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008e51b
call fcn.1011323c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
lea ebx, [ecx + esi*4]
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x1008e537
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1008e544
call fcn.1011323c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
test edx, edx
lea edi, [ecx + esi*4]
je 0x1008e558
mov eax, dword [esp + 0x20]
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x1008e55d
call fcn.1011323c
mov edx, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov edi, dword [edi]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ebx]
movzx ebp, ah
movzx esi, ch
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x60], esi
mov esi, eax
and eax, 0xff
mov dword [esp + 0xb4], eax
shr esi, 0x10
and ecx, 0xff
mov dword [esp + 0x74], ebp
and esi, 0xff
mov ebp, edx
sub ebp, edi
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x80], eax
sub ebp, ebx
mov eax, 0
sets al
sub eax, 1
and eax, ebp
mov dword [esp + 0x7c], eax
mov ebp, ecx
sub ebp, dword [esp + 0x64]
mov eax, 0
sets al
add edx, edi
sub eax, 1
and eax, ebp
cmp edx, 0xff
jle 0x1008e600
mov edx, 0xff
mov edi, dword [esp + 0x60]
add ebx, edi
cmp ebx, 0xff
jle 0x1008e613
mov ebx, 0xff
mov edi, dword [esp + 0x64]
add ecx, edi
cmp ecx, 0xff
jle 0x1008e626
mov ecx, 0xff
cmp esi, dword [esp + 0x80]
jl 0x1008e657
cmp esi, edx
jg 0x1008e657
mov edx, dword [esp + 0x74]
cmp edx, dword [esp + 0x7c]
jl 0x1008e657
cmp edx, ebx
jg 0x1008e657
mov edx, dword [esp + 0xb4]
cmp edx, eax
jl 0x1008e657
cmp edx, ecx
jg 0x1008e657
mov eax, 1
jmp 0x1008e659
xor eax, eax
cmp dword [esp + 0x70], eax
je 0x1008e673
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
xor edi, edi
jmp 0x1008e4bf
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
mov esi, eax
jbe 0x1008e688
call fcn.1011323c
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x20]
ja 0x1008e699
cmp esi, eax
jae 0x1008e69e
call fcn.1011323c
mov eax, dword [esp + 0x20]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x1008e6be
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.10112f43
add esp, 0x10
mov esi, dword [esp + 0x44]
mov ebx, 4
sub dword [esp + 0x20], ebx
cmp esi, dword [esp + 0x48]
jbe 0x1008e6d6
call fcn.1011323c
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x48]
ja 0x1008e6e5
cmp esi, dword [esp + 0x44]
jae 0x1008e6ea
call fcn.1011323c
mov eax, dword [esp + 0x48]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x1008e70a
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.10112f43
add esp, 0x10
mov esi, dword [esp + 0x54]
sub dword [esp + 0x48], ebx
cmp esi, dword [esp + 0x58]
jbe 0x1008e71d
call fcn.1011323c
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x58]
ja 0x1008e72c
cmp esi, dword [esp + 0x54]
jae 0x1008e731
call fcn.1011323c
mov eax, dword [esp + 0x58]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x1008e751
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.10112f43
add esp, 0x10
mov esi, dword [esp + 0x34]
sub dword [esp + 0x58], ebx
cmp esi, dword [esp + 0x38]
jbe 0x1008e764
call fcn.1011323c
lea esi, [esi + edi*4]
cmp esi, dword [esp + 0x38]
ja 0x1008e773
cmp esi, dword [esp + 0x34]
jae 0x1008e778
call fcn.1011323c
mov eax, dword [esp + 0x38]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x1008e798
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.10112f43
add esp, 0x10
sub dword [esp + 0x38], ebx
xor edi, edi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x90]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x1008e485
mov ecx, dword [esp + 0x2c]
add ecx, 1
cmp ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
jl 0x1008e477
mov ecx, dword [esp + 0x68]
push ecx
call fcn.1011163c
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, edi
mov dword [esp + 0x68], edi
je 0x1008e7f8
mov edx, dword [esp + 0x20]
sub edx, eax
sar edx, 2
jne 0x1008e899
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1008e811
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x1008e836
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe4], 0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1008e85b
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1008e883
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, 1
jmp 0x1008e936
mov byte [esp + 0xe4], 2
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1008e8b2
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xe4], 1
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x1008e8d7
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe4], 0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1008e8fc
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1008e924
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jmp 0x1008e934
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.10111b17
add esp, 0xd4
ret