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

Disassembly:
push 0xffffffffffffffff
push 0x5ff1b0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [esp + 0x64]
test edi, edi
je 0x59726c
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x59726c
lea esi, [eax + 0x7c]
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
cmp dword [ebx + 0x1c0], eax
jg 0x59726c
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
cmp dword [ebx + 0x1c4], eax
jg 0x59726c
mov eax, dword [ebx + 0x134]
mov ebp, dword [eax + 0x78]
add ebp, 4
mov ecx, ebp
call fcn.0057b950
test eax, eax
jbe 0x59726c
xor edi, edi
call fcn.0057a830
mov eax, dword [eax]
push ebx
mov ebx, dword [eax]
call fcn.00592660
mov edi, dword [esp + 0x60]
add edi, 0x46c
mov dword [esp + 0x18], eax
call fcn.00577cb0
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], edi
mov byte [esp + 0x34], 0xff
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x30]
lea ebx, [esp + 0x14]
lea esi, [esp + 0x40]
mov dword [esp + 0x30], 0xece8e1
mov dword [esp + 0x14], ecx
call fcn.0059c9d0
mov ebx, dword [esp + 0x60]
mov esi, dword [ebx + 0x134]
cmp esi, edi
je 0x596f6f
call fcn.0057b9f0
mov dword [esp + 0x14], eax
jmp 0x596f73
mov dword [esp + 0x14], edi
mov ecx, ebp
call fcn.0057b950
cmp eax, 1
jne 0x59707e
xor edi, edi
mov esi, ebp
call fcn.0057b970
add eax, 4
push eax
mov ecx, 0x63d6d8
call fcn.00414f20
add esp, 4
test al, al
je 0x59707e
call fcn.0057b970
mov edx, dword [eax + 0x2c]
add eax, 0x2c
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 8]
push 3
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
push edi
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x30]
push edi
mov edi, dword [ebx + 0x254]
push eax
mov eax, dword [esp + 0x34]
push 0x63d6d8
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
push ecx
call fcn.005aec90
xor edi, edi
call fcn.0057b970
mov ecx, dword [eax + 0x3c]
add eax, 0x3c
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
push 3
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
push edi
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x38], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edi, dword [ebx + 0x254]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x34]
push 0xaa4619
push edx
mov edx, dword [esp + 0x38]
push 0x63d97c
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
push ecx
call fcn.005aec90
jmp 0x59725a
mov ecx, ebp
xor ebx, ebx
call fcn.0057b950
test eax, eax
jle 0x59725a
jmp 0x597093
xor edi, edi
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x270]
cmp dword [ecx + 0x90], edi
je 0x5970ea
mov edi, ebx
mov esi, ebp
call fcn.0057b970
mov edi, dword [esp + 0x14]
mov edx, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
push 0xffffffffffffffff
push edi
mov edi, dword [esp + 0x20]
add eax, 0x1c
mov eax, dword [eax + 0xc]
push 0
push edi
push 0x63d990
sub eax, esi
push eax
sub ecx, edx
push ecx
push esi
push edx
mov edx, dword [esp + 0x84]
mov edi, dword [edx + 0x254]
call fcn.005aec90
mov edi, ebx
mov esi, ebp
call fcn.0057b970
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
add eax, 0x2c
test ebx, ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jne 0x597159
call fcn.0057b970
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x28]
push 0xaa4619
add eax, 4
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
sub eax, edx
push eax
mov eax, dword [esp + 0x40]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esp + 0x84]
mov edi, dword [ecx + 0x254]
jmp 0x597197
mov edi, ebx
call fcn.0057b970
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
mov edx, dword [eax + 4]
add eax, 4
mov eax, dword [esp + 0x34]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
sub eax, edx
push eax
mov eax, dword [esp + 0x40]
sub eax, ecx
push eax
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 0x254]
push edx
push ecx
call fcn.005aec90
mov edi, ebx
mov esi, ebp
call fcn.0057b970
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
add eax, 0x3c
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.0057b970
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push 0x969686
push edx
mov edx, dword [esp + 0x34]
add eax, 0x18
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, esi
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x38]
sub eax, ecx
push eax
push edx
mov edx, dword [esp + 0x80]
mov edi, dword [edx + 0x254]
push ecx
call fcn.005aec90
mov ecx, ebp
add ebx, 1
call fcn.0057b950
cmp eax, ebx
je 0x59724b
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x1c0]
push 1
push 1
push 1
push 1
lea eax, [esi + 8]
push eax
sub edx, 4
push edx
push eax
mov eax, dword [esp + 0x80]
push 4
push eax
lea esi, [esp + 0x64]
call fcn.0057f6d0
add esp, 0x24
mov ecx, ebp
call fcn.0057b950
cmp ebx, eax
jl 0x597091
lea esi, [esp + 0x30]
call fcn.005775a0
lea esi, [esp + 0x40]
call fcn.005cc490
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8