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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x10107008]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [0x1013d04c]
mov ecx, dword [0x978748]
push ebx
push esi
push edi
mov byte [eax + ecx], 0
mov eax, dword [0x1013d014]
mov byte [0x1011ef64], 0
mov dword [esp + 0x28], eax
mov edi, dword [eax]
mov dword [esp + 0x24], edi
cmp edi, eax
je 0x1005c929
nop word [eax + eax]
mov ebx, dword [edi + 8]
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx + 0x14]
test byte [eax + 0x22], 2
je 0x1005c686
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x58], 0x100566c0
mov dword [ebx + 0x64], 0x64
mov dword [ebx + 0x68], 0x64
mov dword [ebx + 0x70], 8
mov al, byte [ebx + 8]
cmp al, 1
je 0x1005c6b1
test al, al
je 0x1005c8ec
lea ecx, [esp + 0xb8]
call fcn.10035f80
mov dword [esp + 0x38], 0xf4240
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf4240
mov esi, dword [eax]
mov edi, dword [eax + 4]
add esi, 0xf4240
mov dword [esp + 0x44], 0
adc edi, 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
call fcn.10081ce5
mov ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.10081cce
push ebx
push ebx
push dword [esp + 0x18]
push edx
push eax
call fcn.100c3660
mov dword [esp + 0x1c], ebx
pop ebx
push 0
push 0x3b9aca00
push dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov ebx, edx
push ecx
call fcn.100c32e0
push dword [esp + 0x14]
push dword [esp + 0x14]
push edx
push eax
call fcn.100c3540
mov dword [esp + 0x18], eax
mov ecx, 0x3b9aca00
mov dword [esp + 0x10], edx
mov eax, ebx
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, dword [esp + 0x20]
mul edx
add ecx, edx
mov edx, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], edx
adc eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], eax
cmp eax, edi
jg 0x1005c8e3
jl 0x1005c789
cmp edx, esi
jae 0x1005c8e3
mov dword [esp + 0x5c], eax
mov ebx, esi
sub ebx, edx
mov dword [esp + 0x58], edx
mov eax, edi
mov dword [esp + 0x60], esi
sbb eax, dword [esp + 0x10]
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
call fcn.10081d3c
push 0
push 0x64
push edx
push eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
call fcn.100c32e0
movsd xmm0, qword [0x100ee010]
mov ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
movsd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ecx
mov ecx, ebx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], eax
call fcn.100c50a0
comisd xmm0, xmmword [0x100ee010]
mov edx, dword [esp + 0x18]
movsd qword [esp + 0xc0], xmm0
jbe 0x1005c837
mov ebx, edx
mov eax, 0xad160000
add ebx, 0xad160000
mov ecx, 0x311cd
jmp 0x1005c84f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], ebx
add ebx, edx
mov dword [esp + 0x8c], ecx
add eax, edx
push 0
adc ecx, dword [esp + 0x14]
push 0x3b9aca00
push ecx
push eax
call fcn.100c3540
push 0
push 0x3b9aca00
push edx
push eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
call fcn.100c32e0
sub ebx, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xd4], ebx
call fcn.10083099
add esp, 4
jmp 0x1005c6f3
mov ebx, dword [esp + 0x2c]
jmp 0x1005c6a2
push ebx
call fcn.1005dd20
add esp, 4
mov edx, 0x64
mov ecx, ebx
push 2
push dword [ebx + 0x10]
push 0
call fcn.1000ef40
add esp, 0xc
call fcn.1003e390
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x28]
jne 0x1005c670
mov eax, dword [0x1013d014]
mov esi, dword [eax]
mov edi, eax
cmp esi, edi
je 0x1005c960
mov edx, dword [eax]
push 0xc
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.1008136c
dec dword [0x1013d018]
add esp, 8
mov esi, dword [esi]
cmp esi, edi
je 0x1005c960
mov eax, dword [0x1013d014]
jmp 0x1005c931
mov ecx, dword [esp + 0xdc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10080d10
mov esp, ebp
pop ebp
ret