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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5dfe77
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005dff90
mov eax, dword [esp + 4]
test eax, eax
jg 0x5df95d
xor ecx, ecx
xor edx, edx
jmp 0x5df97f
mov dword [esp + 0x50], eax
lea ecx, [0x654240]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.0044b820
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], edx
lea ebx, [0x675300]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040c390
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00479fe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5dfaa3
test ecx, ecx
jbe 0x5dfe6d
movzx eax, byte [edx]
cmp al, 0x20
je 0x5df9f2
cmp al, 9
jne 0x5dfaa3
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005dec20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
je 0x5dfa3c
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x84
ret
mov dword [esp], 0
lea eax, [0x69313c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044f140
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409210
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x8c], ecx
lea ecx, [0xa55100]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
jmp 0x5dfab3
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
lea ebx, [0xa02818]
mov dword [esp + 4], ebx
call fcn.005dee40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x5dfe4a
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], ebx
mov ebx, dword [0xbb8ad8]
mov ebp, dword [0xbb8adc]
mov esi, dword [0xbb8ae0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00473e90
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test al, al
je 0x5dfddb
mov dword [esp + 0x64], esi
mov dword [esp + 0x3c], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005e0180
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5dfb88
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
jmp 0x5dfaad
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0044f3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x686b87]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.004789b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
lea edx, [0x675300]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], esi
call fcn.0040fd60
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x5dfc24
mov ebx, dword [esp + 0x44]
jmp 0x5dfcce
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x5dfcce
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x40], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x78], ecx
mov ebx, dword [0xbe5550]
test ebx, ebx
jne 0x5dfc62
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x5dfc6b
mov eax, dword [esp + 0x60]
call fcn.00462ce0
lea eax, [0x675300]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
call fcn.004103f0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0xbe5550]
test eax, eax
jne 0x5dfcb8
mov eax, dword [esp + 0x68]
mov dword [edi], eax
jmp 0x5dfcc1
mov eax, dword [esp + 0x68]
call fcn.00462ce0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
jmp 0x5dfda4
lea ebp, [edx + 1]
cmp eax, ebp
jae 0x5dfd10
mov dword [esp + 0x34], edx
lea ebx, [0x654240]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.0044ba20
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ebx, dword [esp + 0x44]
mov eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], eax
lea esi, [ecx + edx*8 + 4]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebx
mov ebx, dword [0xbe5550]
lea edx, [ecx + edx*8]
test ebx, ebx
jne 0x5dfd3b
mov ebx, dword [esp + 0x60]
mov dword [edx], ebx
jmp 0x5dfd46
mov edi, edx
mov eax, dword [esp + 0x60]
call fcn.00462ce0
lea eax, [0x675300]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
call fcn.004103f0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov eax, dword [0xbe5550]
test eax, eax
jne 0x5dfd93
mov eax, dword [esp + 0x78]
mov dword [edi], eax
jmp 0x5dfd9c
mov eax, dword [esp + 0x78]
call fcn.00462ce0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
test edx, edx
je 0x5dfaad
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov dword [esp], 0
lea eax, [0x68fbda]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call fcn.0044f140
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409210
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x8c], ecx
lea ecx, [0xa55100]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
add esp, 0x84
ret
xor eax, eax
mov ecx, eax
call fcn.00462d60
nop
call fcn.004618d0
jmp fcn.005df920