Function at 0x577690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0xa4], 0
jne 0x5776d2
push 0x3020
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5776d2
push 0
push 0
push 0x200
mov eax, dword [ebp - 8]
push eax
call fcn.004dba91
mov ecx, dword [ebp - 0x64]
call fcn.004e2b16
test eax, eax
jne 0x577835
push 0x3020
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x577711
push 0x55a
push 0x6fb4e8
call fcn.004e0811
test eax, eax
je 0x577711
int3
lea ecx, [ebp - 0x18]
call fcn.004e51d6
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x18]
call fcn.004dd2ce
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004e4e61
push 0x20
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004e1a04
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xc]
jge 0x577835
lea ecx, [ebp - 0x18]
call fcn.004df72c
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
push 0x16
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004e33a9
push eax
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x34], 0
jmp 0x5777a4
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jae 0x577804
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx*4 + 0x791764]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x577802
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.004e4e61
push 0x15
push 0
push 0
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x57779b
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.004e1ea0
push 0x16
lea ecx, [ebp - 0x18]
call fcn.004df72c
sub eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.004e33a9
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.004e2ad5
mov ecx, dword [ebp - 0x64]
call fcn.004dc83d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0xa8], 0
je 0x57791f
mov ecx, dword [ebp - 0x64]
call fcn.004e2b16
test eax, eax
jne 0x57791f
lea ecx, [ebp - 0x48]
call fcn.004e51d6
lea ecx, [ebp - 0x48]
call fcn.004dd2ce
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004e1ea0
lea ecx, [ebp - 0x58]
call fcn.004e51d6
push 1
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x5778cc
lea ecx, [ebp - 0x58]
call fcn.004dd2ce
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x16
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004e33a9
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call fcn.004e2ad5
mov dword [ebp - 0x5c], 0
jmp 0x5778de
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 4
jae 0x57791f
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax*4 + 0x791764]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x57791d
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 0x5778d5
mov ecx, dword [ebp - 0x64]
call fcn.004e60f4
and eax, 0x40000000
jne 0x577938
push 0
mov ecx, dword [ebp - 0x64]
call fcn.004dcfef
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret