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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x595675
sub esp, 0x100
mov eax, dword [esp + 0x104]
mov ecx, dword [eax]
mov dword [esp + 0xf8], ecx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
movzx esi, word [ecx + 0x20]
mov edi, dword [eax + 0x4c]
mov dword [esp + 0xd4], edi
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
mov edi, dword [edx + 0x14]
mov dword [esp + 0xd0], edi
mov edi, dword [edx + 0x10]
mov edx, dword [edx + 0x18]
mov dword [esp + 0xcc], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0xc8], edx
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x18]
mov dword [esp + 0xc4], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc0], ebx
mov ebx, dword [ebp + 4]
mov dword [esp + 0xbc], ebx
mov ebx, dword [ebp + 0xc]
mov word [esp], si
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
call fcn.005afca0
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x8c], ebp
mov esi, dword [esp + 0x60]
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xdc], edi
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xe8], eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5955a8
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 0
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xf0], ebp
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xf8]
movzx esi, word [ecx + 0x20]
mov word [esp], si
mov esi, dword [esp + 0xe8]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xc], esi
mov esi, dword [edx]
call esi
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xec], ebp
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 1
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x104]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xe4], ebx
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0xf8]
movzx ebp, word [eax + 0x20]
mov word [esp], bp
mov ebp, dword [esp + 0xd8]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0xe4]
mov ebp, dword [esp + 0xf0]
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xec]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xb8], esi
nop
mov ebp, dword [esp + 0xf8]
movzx esi, word [ebp + 0x20]
mov word [ebp + 0xc0], si
mov dword [ebp + 0xec], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x595582
mov dword [ebp + 0xf0], ebx
mov dword [ebp + 0xf4], eax
mov edx, dword [0xb91180]
test edx, edx
jne 0x595568
mov dword [ebp + 0xf8], ecx
nop
movzx ecx, word [ebp + 0x20]
mov word [ebp + 0x118], cx
mov ecx, dword [esp + 0xb8]
mov dword [ebp + 0x144], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x59554c
mov ecx, dword [esp + 0xf4]
mov dword [ebp + 0x148], ecx
mov ecx, dword [esp + 0xa0]
mov dword [ebp + 0x14c], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x59553b
mov dword [ebp + 0x150], edi
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
add esp, 0x100
ret
lea ecx, [ebp + 0x150]
mov eax, edi
mov edi, ecx
call fcn.0044f0d0
jmp 0x59551e
lea ecx, [ebp + 0x148]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xf4]
call fcn.0044f0d0
mov edi, edx
jmp 0x595501
lea edx, [ebp + 0xf8]
mov eax, edi
mov edi, edx
mov ebx, eax
mov eax, ecx
call fcn.0044f0d0
mov edi, ebx
jmp 0x5954d1
mov dword [esp + 0x9c], eax
lea edx, [ebp + 0xf0]
mov esi, edi
mov edi, edx
mov eax, ebx
call fcn.0044f0d0
mov eax, dword [esp + 0x9c]
mov edi, esi
jmp 0x5954b7
mov eax, dword [ecx + 0x20]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xf0], ecx
test eax, eax
je 0x5955e5
mov eax, dword [eax + 4]
mov dword [esp + 0xfc], eax
mov ecx, dword [esp + 0x104]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0xdc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x595671
mov edx, dword [eax + 4]
xor eax, eax
mov ebx, ecx
mov ebp, dword [esp + 0xf0]
mov esi, dword [esp + 0xfc]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0xa0], ecx
xor ecx, ecx
jmp 0x59547c
mov edx, eax
jmp 0x59564d
call fcn.0044d880
jmp fcn.00595140