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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x594b58
sub esp, 0x68
call fcn.00594330
lea eax, [0x6f52a0]
mov dword [esp], eax
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
lea ecx, [0x6c2de0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
call fcn.0040ab90
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x594a4d
mov eax, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [0x884700]
lea ebx, [eax + 4]
test edx, edx
jne 0x594a38
mov dword [eax + 4], ecx
lea ecx, [0x6ac3a0]
mov dword [esp], ecx
call fcn.0040cd70
mov eax, dword [0x884700]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x20]
lea ebx, [edx + 0x1040]
test eax, eax
jne 0x594a23
mov dword [edx + 0x1040], ecx
lea eax, [0x6aa8e0]
mov dword [esp], eax
call fcn.0040cd70
mov eax, dword [esp + 4]
mov ecx, dword [0x884700]
mov edx, dword [esp + 0x20]
lea ebx, [edx + 0x1044]
test ecx, ecx
jne 0x594a0e
mov dword [edx + 0x1044], eax
mov ecx, dword [0x884700]
lea ebx, [edx + 0x1064]
test ecx, ecx
jne 0x5949f3
lea ecx, [0x7194e0]
mov dword [edx + 0x1064], ecx
lea edi, [esp + 0x24]
xor eax, eax
call fcn.0044a37a
lea edi, [edx + 0x1048]
test byte [edi], al
mov ecx, dword [edx + 0x104c]
mov ebx, dword [edx + 0x1050]
mov ebp, dword [edx + 0x1048]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
test byte [edi], al
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x5949d0
lea esi, [esp + 0x24]
call fcn.0044a854
mov eax, dword [edx + 0x1050]
cmp eax, 0x8000
jl 0x594967
mov eax, dword [edx + 0x1050]
cmp eax, 0x8000
jb 0x594960
mov dword [edx + 0x104c], 0x8000
mov eax, dword [edx + 0x1048]
mov dword [esp], eax
mov dword [esp + 4], 0
xor eax, eax
mov dword [esp + 8], eax
call fcn.0044aa80
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x1054], eax
mov edx, dword [ecx + 0x104c]
cmp eax, edx
jne 0x594942
mov dword [ecx + 0x1054], 0
mov byte [ecx + 0x105c], 1
mov eax, dword [ecx + 0x1054]
mov dword [ecx + 0x1058], eax
lea eax, [0x849580]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call fcn.004246e0
ud2
lea eax, [0x6b4b60]
mov dword [esp], eax
mov dword [esp + 4], 0x8000
mov dword [esp + 8], 0x8000
call fcn.00437440
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x104c], eax
mov dword [ebx + 0x1050], ecx
mov eax, dword [0x884700]
lea ecx, [ebx + 0x1048]
test eax, eax
jne 0x5949be
mov dword [ebx + 0x1048], edx
mov edx, ebx
jmp 0x5948e8
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040d5a0
mov ebx, dword [esp + 0x20]
jmp 0x5949b7
lea eax, [0x6d6ac0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0040d6b0
mov edx, dword [esp + 0x20]
jmp 0x5948db
mov dword [esp], ebx
lea eax, [0x7194e0]
mov dword [esp + 4], eax
call fcn.0040d5a0
mov edx, dword [esp + 0x20]
jmp 0x594891
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d5a0
mov edx, dword [esp + 0x20]
jmp 0x594871
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov edx, dword [esp + 0x20]
jmp 0x594841
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x20]
jmp 0x594811
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x594b51
mov ecx, dword [eax + 4]
lea edx, [0x6f77c0]
cmp edx, ecx
jne 0x594b47
mov ecx, dword [esp + 0x70]
jne 0x594a86
mov edx, dword [ecx + 4]
cmp edx, 0x1000
jl 0x594a86
lea edx, [0x849520]
jmp 0x5947f7
lea ecx, [0x6e3f00]
mov dword [esp], ecx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
lea ecx, [0x6b4b60]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00437440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x3c]
mov ebx, eax
xor eax, eax
call fcn.0044a375
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov edi, dword [esp + 0x1c]
test byte [edi], al
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x594b29
lea esi, [esp + 0x3c]
call fcn.0044a822
mov ecx, dword [esp + 0x1c]
jmp 0x594a7b
lea ecx, [0x6e3f00]
mov dword [esp], ecx
mov dword [esp + 4], edi
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0040d6b0
xor eax, eax
jmp 0x594b20
mov ecx, 0
jmp 0x594a6e
mov ecx, eax
jmp 0x594a5c
call fcn.004486b0
jmp fcn.00594790