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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fd1f0
sub esp, 0x6c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.005a1750
movzx eax, byte [esp + 8]
test al, al
je 0x5fcdbe
jmp 0x5fcdc7
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005a18a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5fcf05
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.005f4cb0
movzx eax, byte [esp + 8]
test al, al
je 0x5fcefc
lea eax, [esp + 0x54]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.005a1700
movzx eax, byte [esp + 8]
test al, al
je 0x5fcefc
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5fcec4
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6b61a0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5fcebe
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov dword [ebx + ecx*4 - 8], edx
mov dword [ebx + ecx*4 - 4], ebp
mov edx, dword [0x8c88d8]
test edx, edx
je 0x5fcef6
call fcn.004772f0
mov dword [edi], esi
mov edx, dword [ebx + ecx*4 - 0xc]
mov dword [edi + 4], edx
mov dword [ebx + ecx*4 - 0xc], esi
jmp 0x5fcf0e
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 1
add esp, 0x6c
ret
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005a18a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5fcdc7
mov word [esp + 0x22], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [esp + 0x3c]
mov dword [esp], eax
lea eax, [esp + 0x22]
mov dword [esp + 4], eax
call fcn.005a14c0
movzx eax, byte [esp + 8]
test al, al
je 0x5fd0c7
lea eax, [esp + 0x3c]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call fcn.005a1700
movzx eax, byte [esp + 8]
test al, al
je 0x5fd0c7
mov eax, dword [esp + 0x74]
cmp dword [eax + 4], 1
jg 0x5fcf0e
movzx ecx, word [esp + 0x22]
cmp cx, 5
je 0x5fd022
cmp cx, 0x12
jne 0x5fcf0e
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x48]
mov dword [esp], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
call fcn.005a1700
movzx eax, byte [esp + 8]
test al, al
je 0x5fd0b5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005a18a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5fd0dd
jmp 0x5fd0b5
mov byte [esp + 0x21], 0
lea eax, [esp + 0x48]
mov dword [esp], eax
lea eax, [esp + 0x21]
mov dword [esp + 4], eax
call fcn.005a1460
movzx eax, byte [esp + 8]
test al, al
je 0x5fd073
cmp byte [esp + 0x21], 1
je 0x5fd052
mov eax, 1
jmp 0x5fd078
lea eax, [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0x20]
mov dword [esp + 4], ecx
call fcn.005f4cb0
movzx eax, byte [esp + 8]
xor eax, 1
jmp 0x5fd078
mov eax, 1
test al, al
jne 0x5fd0be
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x5fd0be
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005a18a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5fd0d0
mov eax, dword [esp + 0x74]
jmp 0x5fcf0e
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov dword [ebx + ecx*4 - 0xc], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005a18a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5fd087
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x24]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
call fcn.005f4c70
movzx eax, byte [esp + 8]
test al, al
je 0x5fd1e7
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5fd1e7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
inc edx
mov ebx, dword [eax + 0x2c]
cmp ecx, edx
jae 0x5fd1ac
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6b61a0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x34], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5fd1a5
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov dword [ebx + 0x2c], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 0x30], edx
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov dword [ebx + ecx*4 - 8], edx
mov dword [ebx + ecx*4 - 4], ebp
mov edx, dword [0x8c88d8]
test edx, edx
je 0x5fd0d9
call fcn.004772f0
mov dword [edi], esi
mov edx, dword [ebx + ecx*4 - 0xc]
mov dword [edi + 4], edx
jmp 0x5fd0d9
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
call fcn.00475ee0
jmp fcn.005fcd70