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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x59585a
sub esp, 0xbc
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x595360
mov byte [ecx + 4], 1
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x59582f
lea eax, [0x7a0780]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x5957b5
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [ecx + 8]
mov dword [esp + 4], eax
lea eax, [0x7716e0]
mov dword [esp], eax
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x843610]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
lea edx, [0x7d58ef]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 8
lea edx, [esp + 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004bb630
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5957ae
mov ecx, dword [eax]
lea eax, [0x7716e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.00438a40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0044c964
lea eax, [0x7aad40]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
lea ebp, [esp + 0x8c]
mov dword [esp + 8], ebp
call fcn.0040b820
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
jmp 0x59549b
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0040baa0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x8c]
test ebx, ebx
je 0x595527
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [eax + 1]
cmp esi, edx
jg 0x5954e4
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
lea edx, [ecx + eax*8 + 4]
mov dword [edx], ebx
lea edx, [ecx + eax*8]
mov ebx, dword [0xadb480]
test ebx, ebx
jne 0x5954d9
mov dword [edx], ebp
jmp 0x595480
mov edi, edx
mov eax, ebp
call fcn.0044c870
jmp 0x595480
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], ebx
lea ebx, [0x7716e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438b10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x48]
jmp 0x5954b6
mov dword [esp + 0x54], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00518ae0
xor eax, eax
jmp 0x595642
mov dword [esp + 0x38], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 0x68], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x7716e0]
mov dword [esp], ecx
lea ebx, [esp + 0x64]
mov dword [esp + 4], ebx
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x7716e0]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x843610]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
lea edx, [0x7d55bf]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 8
lea ebx, [esp + 0x7c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.004bb630
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jl 0x595542
mov ecx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jge 0x595698
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x54]
lea edx, [ecx + eax*8]
mov ebx, dword [edx + 4]
mov dword [esp + 0x30], ebx
mov edx, dword [edx]
mov dword [esp + 0x4c], edx
lea ebp, [0x7aad40]
mov dword [esp], ebp
mov esi, dword [esp + 0xc4]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0040e4b0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax]
mov dword [esp + 0x50], eax
xor edx, edx
jmp 0x595633
lea eax, [0x843610]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
lea ecx, [0x7d4262]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004bb630
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x8435f0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
call fcn.00461aa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x595783
lea eax, [0x79b900]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [0xadb480]
mov edi, dword [esp + 4]
test eax, eax
jne 0x595767
mov eax, dword [esp + 0xc0]
mov dword [edi], eax
mov dword [eax + 0x10], edi
lea eax, [0x843b90]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xbc
ret
mov eax, dword [esp + 0xc0]
call fcn.0044c870
lea ecx, [eax + 0x10]
mov eax, edi
mov edi, ecx
call fcn.0044c870
mov edi, eax
jmp 0x595736
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xbc
ret
xor ecx, ecx
jmp 0x59540e
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [ecx + 8]
mov dword [esp + 4], eax
lea eax, [0x7716e0]
mov dword [esp], eax
call fcn.00407520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x843610]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
lea edx, [0x7d4cab]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
lea edx, [esp + 0x6c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004bb630
jmp 0x5953fd
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
add esp, 0xbc
ret
call fcn.0044b110
jmp fcn.00595320