Function at 0x492f02
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x40]
and ecx, 0x20
test ecx, ecx
jne 0x493078
push 0x3020
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x492f4e
push 0x44f
push str.dlgprop.cpp
call fcn.004a24f0
test eax, eax
je 0x492f4e
int3
xor ecx, ecx
test ecx, ecx
jne 0x492f34
lea ecx, [ebp - 0x18]
call fcn.004abe4a
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x18]
call fcn.004ac00a
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004a595f
push 0x20
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004abe58
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0xc]
jge 0x493078
lea ecx, [ebp - 0x18]
call fcn.004abf49
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
push 0x16
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.004abf33
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x30], 0
jmp 0x492fe7
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 4
jae 0x493047
mov edx, dword [ebp - 0x30]
mov eax, dword [edx*4 + 0x4da630]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x493045
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.004a595f
push 0x15
push 0
push 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x492fde
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004a571f
push 0x16
lea ecx, [ebp - 0x18]
call fcn.004abf49
sub eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004abf33
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.00458070
mov ecx, dword [ebp - 0x64]
call fcn.00451415
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0x80], 0
jne 0x4930bb
push 0
push 0
push 0x474
mov ecx, dword [ebp - 0x64]
call fcn.004a5249
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4930bb
push 0
push 0
push 0x200
mov edx, dword [ebp - 0x34]
push edx
call fcn.0045105e
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x84], 0
je 0x4931b5
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x40]
and edx, 0x20
test edx, edx
jne 0x4931b5
lea ecx, [ebp - 0x58]
call fcn.004abe4a
lea ecx, [ebp - 0x58]
call fcn.004ac00a
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004a571f
lea ecx, [ebp - 0x48]
call fcn.004abe4a
push 1
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x493129
push 0x482
push str.dlgprop.cpp
call fcn.004a24f0
test eax, eax
je 0x493129
int3
xor edx, edx
test edx, edx
jne 0x49310f
lea ecx, [ebp - 0x48]
call fcn.004ac00a
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x16
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004abf33
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.00458070
mov dword [ebp - 0x5c], 0
jmp 0x493174
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 4
jae 0x4931b5
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax*4 + 0x4da630]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4931b3
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x49316b
mov ecx, dword [ebp - 0x64]
call fcn.00457bde
and eax, 0x40000000
test eax, eax
jne 0x4931d0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.0045636b
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret