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

Disassembly:
push 0xffffffffffffffff
push 0x1017463d
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x180]
mov esi, dword [esp + 0x184]
mov ebp, dword [esp + 0x19c]
xor edi, edi
mov dword [esp + 0x24], edi
mov ecx, 0xf
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
mov dword [esp + 0x178], 1
cmp dword [esi + 0x224], edi
je 0x1005bf6b
mov dword [esi + 0x220], 0x102d1990
jmp 0x1005bf7d
lea eax, [esi + 0x8c]
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], edi
fld qword [0x1017bbb0]
fld qword [esp + 0x1a0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1005c4b9
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x1005c4b9
mov edi, dword [esp + 0x188]
mov edx, dword [esi + 0x220]
xor ecx, ecx
cmp dword [edx + edi*4], ecx
jne 0x1005c010
push 0xffffffffffffffff
fstp st(0)
mov esi, 0xf
mov dword [ebx + 0x14], ecx
push ecx
mov dword [ebx + 0x18], esi
lea eax, [esp + 0x40]
mov byte [ebx + 4], cl
push eax
mov ecx, ebx
call fcn.10003e70
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1005bfff
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10100548
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
jmp 0x1005c504
fld qword [0x1017bb70]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, word [esp + 0x18]
mov word [esi + edi*4 + 0x228], dx
fldcw word [esp + 0x14]
fmul qword [0x1017bba8]
fnstcw word [esp + 0x14]
fadd qword [0x1017bb58]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
mov ax, 0xb
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, word [esp + 0x18]
sub ax, dx
mov word [esi + edi*4 + 0x22a], ax
fldcw word [esp + 0x14]
jne 0x1005c08d
mov word [esi + edi*4 + 0x22a], cx
jmp 0x1005c09d
cmp ax, 3
jb 0x1005c09d
mov word [esi + edi*4 + 0x22a], 3
push 0x9c41
call fcn.10111579
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1005c0dc
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.10004150
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
lea ecx, [esp + 0x38]
call fcn.10001d10
jmp 0x1005c509
push 0xbb80
mov dword [esp + 0x24], 0
call fcn.10111579
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x1005c10d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1011163c
add esp, 4
lea edx, [esp + 0x38]
push edx
jmp 0x1005c0b7
mov eax, dword [esp + 0x14]
push 0x9c41
push 0
push eax
call fcn.10112240
mov ecx, dword [esp + 0x28]
push 0xbb80
push 0
push ecx
call fcn.10112240
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x1b4]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1b4]
push ecx
mov ecx, dword [esp + 0x1b4]
push ebp
push edx
mov edx, dword [esp + 0x1b8]
push eax
push ecx
push edx
push edi
lea ecx, [esp + 0x68]
call fcn.10059930
add esp, 0x3c
test eax, eax
jne 0x1005c191
mov eax, dword [esp + 0x14]
push eax
call fcn.1011163c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1011163c
add esp, 8
lea edx, [esp + 0x38]
push edx
jmp 0x1005c0b7
push 0x1017ba54
push ebp
call fcn.10112130
mov ecx, eax
add esp, 8
test ecx, ecx
mov dword [esp + 0x54], eax
je 0x1005c1b0
add ecx, 1
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x1a8]
test eax, eax
jne 0x1005c32f
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x1005c43d
mov eax, dword [esp + 0x1c]
add eax, 0xffffffee
mov dword [esp + 0x28], eax
jmp 0x1005c1e8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x1005c239
test ebp, ebp
jle 0x1005c239
movzx esi, word [eax]
movzx edx, word [eax - 4]
add edx, esi
movzx esi, word [eax + 0x14]
cmp esi, edx
jl 0x1005c239
mov edx, ecx
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x1005c203
mov edi, dword [esp + 0x14]
sub ecx, edx
mov ebp, ecx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x1005c217
mov eax, dword [esp + 0x28]
mov ecx, ebp
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 0x1a]
mov edx, ecx
mov edi, edi
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x1005c240
mov edi, dword [esp + 0x14]
sub ecx, edx
mov esi, edx
mov edx, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1005c256
add dword [esp + 0x28], 0x18
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, 1
and ecx, 3
cmp ebp, dword [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x18], ebp
jl 0x1005c1e0
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x1005c43d
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov bl, 0x25
lea ebx, [ebx]
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
add eax, dword [esp + 0x30]
add ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x64], 0x7c
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], 0x64
mov byte [esp + 0x67], 0x2c
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x64
mov byte [esp + 0x6a], 0
call fcn.10112d57
lea eax, [esp + 0x7c]
add esp, 0x10
mov ecx, eax
jmp 0x1005c2f0
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1005c2f0
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1005c304
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add ebp, 0x18
sub dword [esp + 0x18], 1
rep movsb byte es:[edi], byte [esi]
jne 0x1005c2a0
jmp 0x1005c439
cmp eax, 1
jne 0x1005c43d
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jle 0x1005c43d
mov bl, 0x25
test ebp, ebp
mov eax, dword [esp + 0x1c]
jne 0x1005c393
movzx ecx, word [eax + 2]
movzx edx, word [eax]
add ecx, dword [esp + 0x30]
add edx, dword [esp + 0x2c]
push ecx
add eax, 8
push edx
push eax
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], 0x73
mov byte [esp + 0x62], 0x24
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], 0x64
mov byte [esp + 0x65], 0x24
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], 0x64
mov byte [esp + 0x68], 0
lea eax, [esp + 0x60]
jmp 0x1005c3e3
lea edx, [ebp + ebp*2]
movzx ecx, word [eax + edx*8 + 2]
add ecx, dword [esp + 0x30]
lea eax, [eax + edx*8]
movzx edx, word [eax]
add edx, dword [esp + 0x2c]
push ecx
add eax, 8
push edx
push eax
mov byte [esp + 0x6c], 0x7c
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], 0x73
mov byte [esp + 0x6f], 0x24
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 0x64
mov byte [esp + 0x72], 0x24
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], 0x64
mov byte [esp + 0x75], 0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.10112d57
lea eax, [esp + 0x80]
add esp, 0x14
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1005c400
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1005c414
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add ebp, 1
cmp ebp, dword [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
jl 0x1005c346
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1005c446
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.10003f90
push esi
call fcn.1011163c
mov edx, dword [esp + 0x20]
push edx
call fcn.1011163c
add esp, 8
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0x40]
mov esi, 0xf
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], edi
push eax
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.10003e70
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1005c4b3
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10100548
add esp, 4
mov dword [esp + 0x50], esi
jmp 0x1005c500
push 0xffffffffffffffff
fstp st(0)
mov dword [ebx + 0x18], ecx
push edi
lea edx, [esp + 0x40]
mov dword [ebx + 0x14], edi
push edx
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.10003e70
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1005c4f8
mov eax, dword [esp + 0x3c]
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
mov eax, ebx
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.10111b17
add esp, 0x168
ret