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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x5960c9
push dword [0x648fa4]
lea eax, [ebp - 8]
push edi
push eax
mov dword [ebp - 8], str.CommonWindowControlQueryDialog.cpp
mov dword [ebp - 4], 0xb9
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], 0xbd
call fcn.00471280
mov esi, eax
push 0x6d5584
lea eax, [ebp + 0x10]
push eax
push 0x471500
push esi
mov dword [ebp + 0x10], 0x661ddc
call fcn.00471340
add esp, 0x1c
mov ebx, eax
test esi, esi
je 0x596323
test ebx, ebx
je 0x596323
mov ecx, dword [edi + 0x40]
mov eax, 0x59cb90
mov dword [esi + 0x10], ecx
mov ecx, dword [edi + 0x44]
test eax, eax
mov dword [esi + 0x34], ecx
mov eax, 0x59cb90
jne 0x596139
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], eax
mov eax, 0x59cbe0
test eax, eax
mov dword [esi + 0x18], 0
mov eax, 0x59cbe0
jne 0x596154
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]
mov ecx, ebx
call fcn.0059ba10
mov dword [ebp - 4], eax
test eax, eax
jns 0x59618f
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0xda
jmp 0x59623e
push dword [edi + 4]
mov ecx, ebx
call fcn.0059bac0
mov dword [ebp - 4], eax
test eax, eax
jns 0x5961b3
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0xe3
jmp 0x59623e
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.0059bb70
mov dword [ebp - 4], eax
test eax, eax
jns 0x5961e3
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0xf4
jmp 0x59623e
mov eax, dword [0x6eb428]
shr eax, 1
push eax
mov eax, dword [0x6eb424]
shr eax, 1
push eax
mov ecx, ebx
call fcn.0059be20
push dword [edi + 0x28]
mov ecx, ebx
call fcn.0059be00
push 0xff
push 0x202020
push 0xff
push 0xffffff
push dword [edi + 0x1c]
lea eax, [edi + 0xc]
push eax
push dword [edi + 8]
mov ecx, ebx
call fcn.0059bc50
mov dword [ebp - 4], eax
test eax, eax
jns 0x59625e
mov ecx, esi
call fcn.0042b0d0
mov dword [ebp - 0xc], 0x10f
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
lea eax, [ebp - 0x4c]
push eax
call fcn.005951c0
movzx eax, word [ebp - 0x40]
add esp, 4
mov ecx, ebx
push eax
push dword [ebp - 0x44]
push 0
call fcn.0059be40
movzx eax, word [ebp - 0x30]
push eax
push dword [ebp - 0x34]
mov ecx, ebx
push 1
call fcn.0059be40
movzx eax, word [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov ecx, ebx
push 2
call fcn.0059be40
mov ecx, ebx
push 0x80
push 0xffffff
push 3
call fcn.0059be40
test dword [edi + 0x54], 0x100
jne 0x5962c3
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 + 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.0059beb0
mov edi, eax
test edi, edi
jns 0x59631a
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], 0x137
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], 0xc2
call fcn.00437d10
push 0xc3
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