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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x5963a9
push dword [0x648fa4]
lea eax, [ebp - 8]
push edi
push eax
mov dword [ebp - 8], str.CommonWindowControlQueryDialog.cpp
mov dword [ebp - 4], 0x155
call fcn.00437d10
add esp, 0xc
mov eax, 0x80070057
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x647a64
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], str.CommonWindowControlQueryDialog.cpp
mov dword [ebp - 0xc], 0x159
call fcn.00471280
mov esi, eax
push 0x6d55a8
lea eax, [ebp + 0x10]
push eax
push 0x471500
push esi
mov dword [ebp + 0x10], 0x661de8
call fcn.00471340
add esp, 0x1c
mov ebx, eax
test esi, esi
je 0x59659a
test ebx, ebx
je 0x59659a
mov ecx, dword [edi + 0x40]
mov eax, 0x59a1b0
mov dword [esi + 0x10], ecx
mov ecx, dword [edi + 0x44]
test eax, eax
mov dword [esi + 0x34], ecx
mov eax, 0x59a1b0
jne 0x596419
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], eax
mov eax, 0x59a250
test eax, eax
mov dword [esi + 0x18], 0
mov eax, 0x59a250
jne 0x596434
mov eax, dword [esi + 0x3c]
push 1
push esi
push dword [ebp + 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
call fcn.00471740
add esp, 0xc
push dword [edi + 4]
mov ecx, ebx
call fcn.00599030
mov dword [ebp - 4], eax
test eax, eax
jns 0x596470
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0x176
jmp 0x596505
lea eax, [edi + 0xc]
push eax
push dword [edi + 8]
mov ecx, ebx
call fcn.005990e0
mov dword [ebp - 4], eax
test eax, eax
jns 0x596495
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0x17f
jmp 0x596505
push dword [edi + 0x78]
mov ecx, ebx
push dword [edi + 0x74]
push dword [edi + 0x70]
push dword [edi + 0x6c]
push dword [edi + 0x68]
push dword [edi + 0x64]
call fcn.005991c0
mov dword [ebp - 4], eax
test eax, eax
jns 0x5964c5
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0x190
jmp 0x596505
mov eax, dword [0x6eb428]
shr eax, 1
push eax
mov eax, dword [0x6eb424]
shr eax, 1
push eax
mov ecx, ebx
call fcn.00599350
push dword [edi + 0x28]
mov ecx, ebx
call fcn.00599330
push dword [edi + 0x1c]
mov ecx, ebx
call fcn.005992a0
mov dword [ebp - 4], eax
test eax, eax
jns 0x596525
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0x19e
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x10], str.CommonWindowControlQueryDialog.cpp
call fcn.0047c780
add esp, 8
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test dword [edi + 0x54], 0x100
jne 0x596538
push 3
call fcn.00561a00
add esp, 4
push dword [edi + 0x58]
movzx eax, word [edi + 0x48]
push dword [edi + 0x5c]
mov ecx, ebx
push dword [edi]
push dword [edi + 0x54]
push eax
push dword [edi + 0x60]
lea eax, [edi + 0x30]
push dword [edi + 0x50]
push dword [edi + 0x4c]
push eax
push dword [edi + 0x2c]
push esi
call fcn.00599370
mov edi, eax
test edi, edi
jns 0x596591
mov ecx, esi
call fcn.0042b0d0
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 0x10], str.CommonWindowControlQueryDialog.cpp
mov dword [ebp - 0xc], 0x1bb
call fcn.0047c780
add esp, 8
mov eax, edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push dword [0x648fa4]
lea eax, [ebp - 8]
push 0
push eax
mov dword [ebp - 8], str.CommonWindowControlQueryDialog.cpp
mov dword [ebp - 4], 0x15e
call fcn.00437d10
push 0x15f
push str.CommonWindowControlQueryDialog.cpp
push esi
call fcn.004712a0
add esp, 0x18
mov eax, 0x80004005
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret