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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov eax, dword [esi + 0x1cc]
test al, 2
push edi
pop ebx
setne bl
push edi
mov ecx, dword [esi + 0x224]
mov dword [ebp - 4], edi
inc ebx
test al, 1
pop eax
setne al
inc eax
imul ebx, eax
imul ebx, dword [esi + 0x1d0]
mov eax, dword [ecx]
add ebx, 0xb90
call dword [eax + 0x28]
lea ecx, [esi + 0xc]
jmp 0x5fc30b
cmp dword [eax + 0x2c], 0
jne 0x5fc313
lea ecx, [eax + 0x28]
mov eax, dword [ecx]
test eax, eax
jne 0x5fc302
jmp 0x5fc32c
cmp dword [eax + 0x30], ebx
jne 0x5fc320
and dword [eax + 0x2c], 0
mov edi, eax
jmp 0x5fc328
push ecx
mov ecx, esi
call fcn.005fbc7e
test edi, edi
jne 0x5fc336
push ebx
mov ecx, esi
call fcn.005fbc2d
mov edi, eax
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x2c]
test edi, edi
je 0x5fc75c
mov eax, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1f0]
mov ebx, dword [ecx]
lea edx, [edi + 0x40]
push eax
push edx
call dword [ebx + 4]
test eax, eax
mov dword [ebp - 4], eax
jle 0x5fc755
mov eax, dword [ebp + 8]
test eax, eax
mov ebx, dword [ebp + 0xc]
je 0x5fc4a1
mov ecx, dword [eax + 0x50]
mov ecx, dword [ecx + 0xe0]
mov dword [ebp + 0xc], ecx
mov ecx, dword [eax + 0x54]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0xd0]
add eax, 0x688
mov dword [ebp - 8], eax
push 0x64
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
je 0x5fc4a1
cmp dword [ebp + 0x10], eax
je 0x5fc3d1
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push eax
call 0x57c075
add esp, 0xc
jmp 0x5fc457
movzx edx, byte [ebx + 0x12]
xor eax, eax
mov ah, byte [ebx + 0x10]
mov al, byte [ebx + 0x11]
shl eax, 8
or eax, edx
cmp eax, 0xffffff
jne 0x5fc411
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x14]
sub eax, 0x14
add ecx, eax
mov dword [ebp + 0x10], eax
push ecx
lea eax, [ebp - 0x20]
push eax
push eax
call 0x57c075
add esp, 0xc
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0061a60a
jmp 0x5fc457
cmp ecx, dword [ebp + 0xc]
je 0x5fc457
jmp 0x5fc41b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 0x62
je 0x5fc430
cmp eax, 6
je 0x5fc430
cmp eax, 0x61
jne 0x5fc44c
mov ecx, dword [ecx + 0x20]
call 0x5914d9
add eax, 0x3c
push eax
lea eax, [ebp - 0x20]
push eax
push eax
call 0x57c075
mov ecx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ecx + 8]
cmp ecx, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
jne 0x5fc418
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push eax
push eax
call 0x57c075
lea eax, [esi + 0x1cc]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edx
sar ecx, 2
push edx
and ecx, 3
mov ecx, dword [ecx*4 + 0x30245008]
shl eax, cl
sar edx, 2
and edx, 3
mov ecx, dword [edx*4 + 0x30245008]
sar eax, cl
push eax
lea eax, [edi + 0x40]
push eax
call 0x57c11d
add esp, 0x1c
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x28]
fild dword [esi]
lea ecx, [esi + 0x10]
fstp qword [ebp - 0xc]
call fcn.005fe203
mov dword [ebp + 0x10], eax
fild dword [ebp + 0x10]
fmul qword [0x302451f0]
fcomp qword [ebp - 0xc]
fnstsw ax
test ah, 5
jp 0x5fc5fc
lea ecx, [esi + 0x10]
mov dword [ebp + 0x10], 0x80
call fcn.005fe203
add eax, 0x4b0
cmp dword [esi], eax
jle 0x5fc4f4
mov dword [ebp + 0x10], 0x10
jmp 0x5fc526
lea ecx, [esi + 0x10]
call fcn.005fe203
add eax, 0x258
cmp dword [esi], eax
jle 0x5fc50e
mov dword [ebp + 0x10], 0x20
jmp 0x5fc526
lea ecx, [esi + 0x10]
call fcn.005fe203
add eax, 0x12c
cmp dword [esi], eax
jle 0x5fc526
mov dword [ebp + 0x10], 0x40
cmp dword [esi + 0x228], 0
jne 0x5fc56a
test byte [esi + 0x1cc], 1
jne 0x5fc54d
push 0x20
call fcn.0073ebc3
test eax, eax
pop ecx
je 0x5fc562
mov ecx, eax
call fcn.006087f2
jmp 0x5fc564
push 4
call fcn.0073ebc3
test eax, eax
pop ecx
je 0x5fc562
mov ecx, eax
call fcn.00608840
jmp 0x5fc564
xor eax, eax
mov dword [esi + 0x228], eax
mov ecx, dword [esi + 0x228]
test ecx, ecx
mov eax, dword [ebp - 4]
mov dword [ebp + 8], eax
je 0x5fc593
mov edx, dword [ecx]
lea eax, [esi + 0x1cc]
push eax
push dword [ebp + 0x10]
lea eax, [edi + 0x24]
push dword [ebp - 4]
push eax
call dword [edx + 4]
mov dword [ebp + 8], eax
lea eax, [esi + 0x1cc]
push eax
call fcn.005fbb3e
pop ecx
mov ecx, eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
push 0
pop edx
push 0
add dword [esi], eax
mov ecx, dword [esi + 0x1cc]
test cl, 2
setne dl
inc edx
test cl, 1
pop ecx
setne cl
inc ecx
imul edx, ecx
imul edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edi + 0x34], edx
mov ch, byte [ebx + 0xf]
movzx edx, byte [ebx + 0xd]
mov cl, byte [ebx + 0xc]
shl ecx, 8
or ecx, edx
movzx edx, byte [ebx + 0xe]
shl ecx, 8
or ecx, edx
add ecx, eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
jmp 0x5fc6df
lea eax, [esi + 0x1cc]
push eax
call fcn.005fbb3e
pop ecx
mov ecx, eax
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
push 0
pop edx
push 0
add dword [esi], eax
mov ecx, dword [esi + 0x1cc]
test cl, 2
setne dl
inc edx
test cl, 1
pop ecx
setne cl
inc ecx
imul edx, ecx
imul edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edi + 0x34], edx
mov ch, byte [ebx + 0xf]
movzx edx, byte [ebx + 0xd]
mov cl, byte [ebx + 0xc]
shl ecx, 8
or ecx, edx
movzx edx, byte [ebx + 0xe]
shl ecx, 8
or ecx, edx
add ecx, eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
mov ecx, dword [esi + 0x228]
xor ebx, ebx
cmp ecx, ebx
je 0x5fc6df
mov edx, dword [ecx]
lea eax, [esi + 0x1cc]
push eax
push ebx
push dword [ebp - 4]
lea eax, [edi + 0x24]
push eax
call dword [edx + 4]
cmp eax, dword [ebp - 4]
je 0x5fc6d5
cmp eax, ebx
je 0x5fc6d9
mov edx, eax
sub edx, dword [ebp - 4]
lea ebx, [esi + 0x1cc]
push ebx
mov dword [ebp + 0x10], edx
call fcn.005fbb3e
pop ecx
mov ecx, eax
mov eax, edx
imul eax, eax, 0x3e8
cdq
idiv ecx
push 0
add dword [esi], eax
add dword [edi + 0x38], eax
add dword [edi + 0x3c], eax
mov ebx, dword [ebx]
test bl, 2
pop eax
setne al
push 0
pop ecx
inc eax
test bl, 1
setne cl
inc ecx
imul eax, ecx
imul eax, dword [ebp + 0x10]
add dword [edi + 0x34], eax
jmp 0x5fc6df
cmp eax, ebx
jne 0x5fc6df
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x34], ebx
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x2c]
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
jbe 0x5fc6ff
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
jmp 0x5fc706
mov dword [edi + 0x2c], 1
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp dword [esi + 4], ebx
je 0x5fc746
lea ecx, [esi + 0x10]
call fcn.005fe203
cmp dword [esi], eax
jl 0x5fc746
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x224]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [esi + 4], ebx
mov esi, dword [esi + 0x224]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
jmp 0x5fc75c
mov dword [edi + 0x2c], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc