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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5fd804
sub esp, 0xb0
mov eax, dword [esp + 0xb8]
jmp 0x5fd46b
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00471a5b
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
call fcn.005fc110
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x50]
lea esi, [esp + 0x2c]
call fcn.00471f3e
lea ecx, [0x6d1380]
mov dword [esp], ecx
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
call fcn.004edd60
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
lea ebx, [0x68ef20]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x2c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.005fcdb0
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5fd7eb
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00471a5b
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
lea edx, [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x14
call fcn.004024a0
movzx ecx, byte [esp + 0xc]
test cl, cl
jne 0x5fd7b6
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0x28c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
sub edx, ebp
cmp ebx, eax
jb 0x5fd56c
cmp dword [esp + 0x3c], eax
jae 0x5fd58e
cmp ebx, eax
jbe 0x5fd56c
mov edx, dword [esp + 0x3c]
mov ebx, eax
sub eax, edx
mov esi, eax
jmp 0x5fd592
mov edx, dword [esp + 0x3c]
cmp edx, eax
jbe 0x5fd57e
mov edx, eax
sub eax, ebx
mov ebx, edx
mov esi, eax
jmp 0x5fd592
mov esi, eax
sub eax, ebx
mov ebx, esi
sub esi, edx
cmp esi, eax
ja 0x5fd592
mov esi, eax
jmp 0x5fd592
mov ebx, eax
mov esi, edx
mov dword [esp + 0x4c], ebx
movzx eax, byte [ecx + 0x295]
test al, al
je 0x5fd5d5
mov dword [esp], ecx
lea eax, [0x68ef20]
mov dword [esp + 4], eax
lea edx, [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.005ff900
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
jmp 0x5fd607
mov dword [esp], ecx
lea eax, [0x68ef20]
mov dword [esp + 4], eax
lea edx, [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.005fefb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
test ecx, ecx
jne 0x5fd7a1
mov dword [esp + 0x78], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005fc530
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005fbad0
movzx eax, byte [esp + 8]
test al, al
je 0x5fd467
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00471a55
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x98], ecx
lea edi, [esp + 0x9c]
lea esi, [esp + 0x2c]
call fcn.00471f3e
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0xb4]
mov ebx, dword [ecx + 0xb0]
inc ebx
mov ebp, dword [ecx + 0xac]
cmp edx, ebx
jae 0x5fd747
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6cbb40]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xb4]
mov dword [ebx + 0xb4], eax
mov eax, dword [0x95f020]
test eax, eax
je 0x5fd736
call fcn.004717d0
mov dword [edi], ecx
mov ebp, dword [ebx + 0xac]
mov dword [edi + 4], ebp
mov dword [ebx + 0xac], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0xb0], ebx
mov edx, dword [0x95f020]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x5fd790
mov dword [esp + 0x80], edi
lea eax, [0x6cbb40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call fcn.0040ed00
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0x80]
lea esi, [esp + 0x84]
call fcn.00471f02
jmp 0x5fd467
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ebp
add esp, 0xb0
ret
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x5fd7ce
mov byte [eax + 0x29c], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xb0
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0xb0
ret
call fcn.004703c0
jmp fcn.005fd440