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

Disassembly:
push 0xffffffffffffffff
push 0x1015a18c
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
fld qword [0x101615b8]
mov edi, dword [esp + 0xe8]
fld qword [esp + 0x100]
mov esi, dword [esp + 0xfc]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1006034f
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10060351
push 0x1016199c
push esi
call fcn.100f8c40
add esp, 8
test eax, eax
je 0x1005fdb0
mov al, 0xd2
mov byte [esp + 0xba], al
mov byte [esp + 0xbe], al
mov al, 0xd6
mov byte [esp + 0xc7], al
mov byte [esp + 0xca], al
lea eax, [esp + 0xb8]
mov dl, 0xc9
mov cl, 0xab
push eax
mov bl, 0xd5
push edi
mov byte [esp + 0xc0], 0xd7
mov byte [esp + 0xc1], 0xa2
mov byte [esp + 0xc3], 0xe2
mov byte [esp + 0xc4], 0x2c
mov byte [esp + 0xc5], bl
mov byte [esp + 0xc7], dl
mov byte [esp + 0xc8], cl
mov byte [esp + 0xc9], 0xbd
mov byte [esp + 0xca], 0xd3
mov byte [esp + 0xcb], 0xbf
mov byte [esp + 0xcc], 0xda
mov byte [esp + 0xcd], 0xb2
mov byte [esp + 0xce], 0xbb
mov byte [esp + 0xd0], 0xa7
mov byte [esp + 0xd1], 0xb3
mov byte [esp + 0xd3], 0x48
mov byte [esp + 0xd4], 0x53
mov byte [esp + 0xd5], 0x56
mov byte [esp + 0xd6], 0xd1
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], dl
mov byte [esp + 0xd9], cl
mov byte [esp + 0xda], 0x21
mov byte [esp + 0xdb], 0
call fcn.1003bf90
add esp, 8
jmp 0x10060351
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x98]
push edx
mov edx, dword [esp + 0x104]
push eax
mov eax, dword [esp + 0x104]
push ecx
push edx
push eax
xor ebx, ebx
push edi
mov dword [esp + 0x58], ebx
call fcn.10041d70
add esp, 0x28
test eax, eax
je 0x10060351
fld1
lea ecx, [esp + 0x14]
fsub qword [esp + 0x100]
push ecx
fnstcw word [esp + 0x18]
lea ecx, [esp + 0x24]
movzx eax, word [esp + 0x18]
fmul qword [0x10161968]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0xb4]
mov ebp, dword [esp + 0xb4]
fldcw word [esp + 0x18]
call fcn.1005a720
mov dword [esp + 0xe0], ebx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
call fcn.1005a720
mov byte [esp + 0xe0], 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
call fcn.1005a720
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.1005a720
mov byte [esp + 0xe0], 3
cmp esi, ebx
mov dword [esp + 0x60], 1
je 0x1006002a
cmp byte [esi], 0x40
jne 0x1005feb6
add esi, 1
mov dword [esp + 0x60], ebx
cmp esi, ebx
je 0x1006002a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], ebx
xor edi, edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb8]
push ecx
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xc0], 0x25
mov byte [esp + 0xc1], 0x78
mov byte [esp + 0xc2], 0x2d
mov byte [esp + 0xc3], 0x25
mov byte [esp + 0xc4], 0x78
mov byte [esp + 0xc5], 0
call fcn.100f86bd
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, dword [esp + 0x28]
je 0x1005ff36
mov dword [eax], ebx
add dword [esp + 0x24], 4
jmp 0x1005ff4e
push 1
push 1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.1005ea80
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
je 0x1005ff61
mov dword [eax], ebx
add dword [esp + 0x3c], 4
jmp 0x1005ff79
push 1
push 1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.1005ea80
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x58]
je 0x1005ff8c
mov dword [eax], ebx
add dword [esp + 0x54], 4
jmp 0x1005ffa4
push 1
push 1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.1005ea80
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x1005ffb7
mov dword [eax], ebx
add dword [esp + 0x48], 4
jmp 0x1005ffcf
push 1
push 1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.1005ea80
movzx edx, byte [esp + 0x16]
mov eax, dword [esp + 0x38]
add edx, ebp
mov dword [eax + edi], edx
movzx ecx, byte [esp + 0x15]
mov edx, dword [esp + 0x50]
add ecx, ebp
mov dword [edx + edi], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
and eax, 0xff
add eax, ebp
mov dword [ecx + edi], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 0x101615a8
push esi
mov dword [edx + edi], eax
call fcn.100f8c40
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1006001f
add esi, 1
add edi, 4
cmp esi, ebx
jne 0x1005fed0
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x18], ebx
jle 0x10060298
mov eax, dword [esp + 0x8c]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x1c], ecx
jle 0x10060280
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x7c]
add edx, dword [esp + 0x30]
mov byte [edx + ecx*4 + 3], 0
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub edx, ecx
sar edx, 2
mov dword [esp + 0xb0], edx
je 0x10060298
cmp edx, ebx
mov dword [esp + 0x14], ebx
jbe 0x10060266
mov eax, dword [eax]
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x70], edx
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x50]
sub eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
sub eax, edx
sub ecx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], ecx
jmp 0x100600d8
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x68]
mov esi, dword [eax + edx]
mov eax, dword [ecx + edx]
mov ecx, eax
mov ebp, dword [edx]
shr ecx, 0x10
movzx ebx, ah
and eax, 0xff
mov dword [esp + 0x34], eax
and ecx, 0xff
mov edi, ecx
sub edi, esi
mov eax, 0
sets al
sub eax, 1
and eax, edi
mov dword [esp + 0x64], eax
mov edi, ebx
sub edi, ebp
mov eax, 0
sets al
sub eax, 1
and eax, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
sub edi, dword [eax + edx]
mov eax, 0
sets al
add ecx, esi
sub eax, 1
and edi, eax
cmp ecx, 0xff
jle 0x10060148
mov ecx, 0xff
add ebx, ebp
cmp ebx, 0xff
jle 0x10060157
mov ebx, 0xff
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edx]
mov esi, dword [esp + 0x34]
add eax, esi
cmp eax, 0xff
jle 0x10060170
mov eax, 0xff
mov esi, dword [esp + 0x70]
cmp esi, dword [esp + 0x64]
jl 0x1006019f
cmp esi, ecx
jg 0x1006019f
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x6c]
jl 0x1006019f
cmp ecx, ebx
jg 0x1006019f
mov ecx, dword [esp + 0x74]
cmp ecx, edi
jl 0x1006019f
cmp ecx, eax
jg 0x1006019f
mov eax, 1
jmp 0x100601a1
xor eax, eax
cmp dword [esp + 0x60], eax
je 0x100601c7
mov eax, dword [esp + 0x14]
add eax, 1
add edx, 4
cmp eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
jb 0x100600d0
jmp 0x10060264
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
lea edx, [ecx + esi*4]
mov ecx, dword [esp + 0x24]
lea eax, [edx + 4]
cmp eax, ecx
je 0x100601ec
sub ecx, eax
je 0x100601ec
push ecx
push eax
push edx
call fcn.100f7b50
add esp, 0xc
mov edx, dword [esp + 0x38]
lea ecx, [edx + esi*4]
mov edx, dword [esp + 0x3c]
mov edi, 4
sub dword [esp + 0x24], edi
lea eax, [ecx + 4]
cmp eax, edx
je 0x10060216
sub edx, eax
je 0x10060216
push edx
push eax
push ecx
call fcn.100f7b50
add esp, 0xc
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub dword [esp + 0x3c], edi
lea ecx, [eax + esi*4]
lea eax, [ecx + 4]
cmp eax, edx
je 0x1006023b
sub edx, eax
je 0x1006023b
push edx
push eax
push ecx
call fcn.100f7b50
add esp, 0xc
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
sub dword [esp + 0x54], edi
lea ecx, [ecx + esi*4]
lea eax, [ecx + 4]
cmp eax, edx
je 0x10060260
sub edx, eax
je 0x10060260
push edx
push eax
push ecx
call fcn.100f7b50
add esp, 0xc
sub dword [esp + 0x48], edi
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x8c]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x10060050
mov ecx, dword [esp + 0x18]
add ecx, 1
cmp ecx, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
jl 0x10060042
mov edx, dword [esp + 0x30]
push edx
call fcn.100f5c3f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
add esp, 4
test eax, 0xfffffffc
mov dword [esp + 0x30], ebx
jne 0x10060306
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x44]
call fcn.10044930
mov byte [esp + 0xe0], 1
lea ecx, [esp + 0x50]
call fcn.10044930
mov byte [esp + 0xe0], 0
lea ecx, [esp + 0x38]
call fcn.10044930
mov dword [esp + 0xe0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.10044930
mov eax, 1
jmp 0x10060353
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x44]
call fcn.10044930
mov byte [esp + 0xe0], 1
lea ecx, [esp + 0x50]
call fcn.10044930
mov byte [esp + 0xe0], 0
lea ecx, [esp + 0x38]
call fcn.10044930
mov dword [esp + 0xe0], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.10044930
jmp 0x10060351
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.100f611a
add esp, 0xd0
ret