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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5df38e
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x5df078
mov ecx, dword [ecx]
jmp 0x5df07a
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea eax, [0x634440]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0045f634
lea eax, [0x6592c0]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0040d0d0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
jmp 0x5df0f8
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0040d330
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x5df2d7
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b15f0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp ecx, 7
jne 0x5df152
cmp dword [eax], 0x69617254
jne 0x5df1b4
cmp word [eax + 4], 0x656c
jne 0x5df1b4
cmp byte [eax + 6], 0x72
jne 0x5df1b4
jmp 0x5df24e
cmp ecx, 0xe
je 0x5df189
cmp ecx, 0x11
jne 0x5df1b4
mov dword [esp], eax
lea edx, [0x66679f]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402620
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5df23c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x5df1b4
mov dword [esp], eax
lea edx, [0x66525e]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402620
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5df246
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jb 0x5df1c9
mov esi, dword [esp + 0x2c]
jmp 0x5df20a
lea eax, [0x634440]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004484a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x30]
mov esi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x84e4b0]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x5df230
mov dword [edx], eax
jmp 0x5df0e0
mov edi, edx
call fcn.0045f3a0
jmp 0x5df0e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x5df24e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408e30
mov eax, dword [esp + 8]
lea ecx, [0x634440]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x6690a7]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b2720
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x74
ret
test eax, eax
je 0x5df361
nop
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00408eb0
mov eax, dword [esp + 0xc]
lea ecx, [0x6d0480]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004898c0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
lea eax, [0x66254c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004bed60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
call fcn.0045df90
jmp fcn.005df050