Function at 0x5df070
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 0x5df5d2
sub esp, 0x84
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x5df117
nop
movzx edx, byte [0x7c0510]
test dl, dl
je 0x5df0e1
mov edx, dword [esp + 0x94]
mov dword [0x7c0514], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5df0cd
mov eax, dword [esp + 0x98]
mov dword [0x7c0518], eax
jmp 0x5df0e8
lea edi, [0x7c0518]
mov eax, dword [esp + 0x98]
call fcn.0045e950
jmp 0x5df0e8
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5df10f
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5df11d
or edx, 0x80
jmp 0x5df11d
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5df11d
xor edx, edx
xor ecx, ecx
xor eax, eax
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 0x16
jne 0x5df146
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004b8740
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xa4]
mov dword [esp + 8], ebp
call fcn.004bae60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0xc], ecx
jne 0x5df1c6
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004033d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5df578
nop
nop
mov eax, dword [esp + 0x38]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x15
je 0x5df501
cmp eax, 0x19
jne 0x5df442
lea eax, [0x6082c0]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5df205
lea edx, [0x68cee0]
jmp 0x5df209
xor edx, edx
xor eax, eax
nop
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004bb8f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bba80
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
nop
mov ebx, ecx
and ecx, 0x1f
mov dword [esp + 0x3c], ecx
cmp ecx, 0x16
jne 0x5df29f
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004b8740
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
call fcn.004b9ea0
mov eax, dword [esp + 0x3c]
cmp eax, 0x16
je 0x5df2de
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x5df30a
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
call fcn.004b8740
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, edx
mov edx, eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ebp, dword [esp + 0x8c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x90]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x48]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], ecx
call fcn.005dc270
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
test eax, eax
jne 0x5df42d
mov eax, dword [esp + 0x3c]
cmp eax, 0x16
je 0x5df396
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
jmp 0x5df3be
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.004b8740
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
call fcn.005df5e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
add esp, 0x84
ret
mov dword [esp + 0x44], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x6091e0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x63820c]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
call fcn.005df5e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.004b9ea0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x84
ret
call fcn.0045d540
jmp fcn.005df070