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

Disassembly:
push 0xffffffffffffffff
push 0x101799cd
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cc114]
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 + 0x28], 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
mov eax, eax
push ebx
pop ebx
mov cl, cl
mov eax, dword [esi + 0x228]
cmp eax, edi
je 0x1005c96d
mov dword [esi + 0x224], 0x102d4b60
push edx
pop edx
mov dword [esi + 0x228], eax
mov dl, dl
jmp 0x1005c983
lea eax, [esi + 0x90]
mov dword [esi + 0x224], eax
mov esi, esi
mov dword [esi + 0x228], edi
mov eax, eax
mov ebx, ebx
push ecx
pop ecx
fld qword [0x10181880]
fld qword [esp + 0x1a0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1005cf26
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x1005cf26
mov edi, dword [esp + 0x188]
mov edx, dword [esi + 0x224]
xor ecx, ecx
cmp dword [edx + edi*4], ecx
jne 0x1005ca1a
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.10009fb0
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1005ca09
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1010959d
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
jmp 0x1005cf71
fld qword [0x10181840]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov dx, word [esp + 0x20]
mov word [esi + edi*4 + 0x22c], dx
fldcw word [esp + 0x1c]
mov dl, dl
mov dx, 0xb
fmul qword [0x10181878]
fnstcw word [esp + 0x1c]
fadd qword [0x10181828]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov ax, word [esp + 0x20]
sub dx, ax
mov word [esi + edi*4 + 0x22e], dx
fldcw word [esp + 0x1c]
mov edx, edx
movzx eax, word [esi + edi*4 + 0x22e]
cmp ax, cx
ja 0x1005caa8
mov word [esi + edi*4 + 0x22e], cx
mov dl, dl
jmp 0x1005caba
cmp ax, 3
jb 0x1005caba
mov word [esi + edi*4 + 0x22e], 3
mov edi, edi
mov bl, bl
push 0x9c41
call fcn.10117399
add esp, 4
mov dword [esp + 0x1c], eax
mov ch, ch
test eax, eax
jne 0x1005cafd
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.1000a290
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
lea ecx, [esp + 0x38]
call fcn.10006700
jmp 0x1005cf76
mov dword [esp + 0x2c], 0
mov cl, cl
push 0xbb80
call fcn.10117399
add esp, 4
mov dword [esp + 0x24], eax
nop
test eax, eax
jne 0x1005cb33
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1011745c
add esp, 4
mov al, al
lea edx, [esp + 0x38]
push edx
jmp 0x1005cad8
mov eax, dword [esp + 0x1c]
push 0x9c41
push 0
push eax
call fcn.101183f0
add esp, 0xc
nop
mov ecx, dword [esp + 0x24]
push 0xbb80
push 0
push ecx
call fcn.101183f0
add esp, 0xc
mov bl, bl
mov bl, bl
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x19c]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x19c]
push ecx
mov ecx, dword [esp + 0x19c]
push ebp
push edx
mov edx, dword [esp + 0x1a0]
push eax
push ecx
push edx
push edi
lea ecx, [esp + 0x3c]
call fcn.1005a050
add esp, 0x24
test eax, eax
jne 0x1005cbcb
mov bh, bh
mov eax, dword [esp + 0x1c]
push eax
call fcn.1011745c
add esp, 4
mov al, al
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1011745c
add esp, 4
push eax
pop eax
lea edx, [esp + 0x38]
push edx
jmp 0x1005cad8
push 0x101814a4
push ebp
call fcn.10118100
add esp, 8
mov ecx, eax
mov dword [esp + 0x54], eax
mov ebx, ebx
test ecx, ecx
je 0x1005cbed
add ecx, 1
mov dword [esp + 0x54], ecx
nop
mov eax, dword [esp + 0x1a8]
test eax, eax
jne 0x1005cd72
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], ebp
jle 0x1005ce9f
mov eax, dword [esp + 0x24]
add eax, 0xffffffee
mov dword [esp + 0x30], eax
jmp 0x1005cc28
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x1005cc7b
test ebp, ebp
jle 0x1005cc7b
movzx esi, word [eax]
movzx edx, word [eax - 4]
add edx, esi
movzx esi, word [eax + 0x14]
cmp esi, edx
jl 0x1005cc7b
mov edx, ecx
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x1005cc43
mov edi, dword [esp + 0x1c]
sub ecx, edx
mov ebp, ecx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x1005cc57
mov ecx, ebp
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dl, dl
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x1a]
mov edx, ecx
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x1005cc80
mov edi, dword [esp + 0x1c]
sub ecx, edx
mov esi, edx
mov edx, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1005cc96
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push edx
pop edx
add dword [esp + 0x30], 0x18
add ebp, 1
cmp ebp, dword [esp + 0x2c]
mov dword [esp + 0x20], ebp
jl 0x1005cc20
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x1005ce9f
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov bl, 0x25
lea esp, [esp]
push edx
pop edx
mov byte [esp + 0x54], 0x7c
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], 0x64
mov byte [esp + 0x57], 0x2c
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x64
mov byte [esp + 0x5a], 0
mov ch, ch
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
add eax, dword [esp + 0x14]
add ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.101191d0
add esp, 0x10
mov ebx, ebx
lea eax, [esp + 0x6c]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1005cd31
mov edi, dword [esp + 0x1c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1005cd45
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dl, dl
add ebp, 0x18
sub dword [esp + 0x20], 1
jne 0x1005cce0
jmp 0x1005ce9b
cmp eax, 1
jne 0x1005ce9f
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
jle 0x1005ce9f
mov bl, 0x25
lea esp, [esp]
push ecx
pop ecx
test ebp, ebp
jne 0x1005cdf1
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x73
mov byte [esp + 0x56], 0x24
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 0x64
mov byte [esp + 0x59], 0x24
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], 0x64
mov byte [esp + 0x5c], 0
mov ecx, ecx
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
add ecx, dword [esp + 0x14]
add edx, dword [esp + 0x18]
push ecx
push edx
add eax, 8
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.101191d0
add esp, 0x14
mov esi, esi
jmp 0x1005ce57
mov byte [esp + 0x60], 0x7c
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], 0x73
mov byte [esp + 0x63], 0x24
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], 0x64
mov byte [esp + 0x66], 0x24
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], 0x64
mov byte [esp + 0x69], 0
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x24]
lea edx, [ebp + ebp*2]
movzx ecx, word [eax + edx*8 + 2]
add ecx, dword [esp + 0x14]
lea eax, [eax + edx*8]
movzx edx, word [eax]
add edx, dword [esp + 0x18]
push ecx
push edx
add eax, 8
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.101191d0
add esp, 0x14
push ebx
pop ebx
lea eax, [esp + 0x6c]
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1005ce60
mov edi, dword [esp + 0x1c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1005ce74
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
pop ebx
add ebp, 1
cmp ebp, dword [esp + 0x2c]
jl 0x1005cd90
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1005cea8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.1000a0d0
mov cl, cl
mov ecx, ecx
push esi
call fcn.1011745c
add esp, 4
push edx
pop edx
mov edx, dword [esp + 0x24]
push edx
call fcn.1011745c
add esp, 4
mov bh, bh
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.10009fb0
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1005cf20
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1010959d
add esp, 4
mov dword [esp + 0x50], esi
jmp 0x1005cf6d
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.10009fb0
mov dword [esp + 0x28], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x1005cf65
mov eax, dword [esp + 0x3c]
push eax
call fcn.1010959d
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.10117937
add esp, 0x168
ret