Function at 0x401220
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
mov al, byte [0x5a9da8]
test al, al
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], edx
mov esi, ecx
je 0x40140f
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x9b
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 5
push 0x9b
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
push 1
push 0x9c
push esi
call edi
push eax
call ebx
push 5
push 0x9c
push esi
call edi
push eax
call ebp
push 1
push 0x9d
push esi
call edi
push eax
call ebx
push 5
push 0x9d
push esi
call edi
push eax
call ebp
mov eax, dword [0x59e264]
mov ecx, dword [0x59e26c]
mov edx, dword [0x59e268]
push 0
sub ecx, eax
push ecx
mov ecx, dword [0x59e260]
sub edx, ecx
push edx
push eax
push ecx
push 0x9b
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x59e284]
mov ecx, dword [0x59e28c]
mov edx, dword [0x59e288]
push 0
sub ecx, eax
push ecx
mov ecx, dword [0x59e280]
sub edx, ecx
push edx
push eax
push ecx
push 0x9c
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x59e274]
mov ecx, dword [0x59e27c]
mov edx, dword [0x59e278]
push 0
sub ecx, eax
push ecx
mov ecx, dword [0x59e270]
sub edx, ecx
push edx
push eax
push ecx
push 0x9d
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
xor edx, edx
mov ecx, 0x67
call fcn.0041d620
push eax
push 0
push 0xc
push 0x9b
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor edx, edx
mov ecx, 0x68
call fcn.0041d620
push eax
push 0
push 0xc
push 0x9c
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x5a9da8
push 0
push 0xc
push 0x9d
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0x9e
push esi
call edi
push eax
call ebx
push 0
push 0x9e
push esi
call edi
push eax
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
push eax
push esi
call ebp
mov ecx, 0x21
call fcn.00544880
mov ecx, 0x21
mov ebx, eax
call fcn.00544880
mov ecx, 4
add ebx, eax
call fcn.00544880
lea ecx, [esp + 0x28]
push ecx
push 1
push esi
add ebx, eax
call edi
push eax
call ebp
push 2
lea edx, [esp + 0x2c]
push edx
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
push 0x16
lea ecx, [eax + ebx + 4]
push ecx
sub edx, ebp
push edx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
push 0
mov edx, 0x5a0bc8
mov ecx, esi
call fcn.004011a0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x9d
push esi
mov dword [esp + 0x20], eax
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x9d
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
push eax
push esi
call ebp
mov ecx, 0x21
call fcn.00544880
mov ecx, 0x21
mov ebx, eax
call fcn.00544880
mov ecx, 4
add ebx, eax
call fcn.00544880
lea ecx, [esp + 0x28]
push ecx
push 1
push esi
add ebx, eax
call edi
push eax
call ebp
push 2
lea edx, [esp + 0x2c]
push edx
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
push 0x16
lea ecx, [ebx + eax + 4]
mov ebx, dword [esp + 0x1c]
push ecx
sub edx, ebx
push edx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x10]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
je 0x4014e6
push 0
push 1
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x7d
push esi
call ebx
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x4015ce
mov edx, dword [esp + 0x3c]
push 0
push 0x1f4
push 0x7c
push esi
mov dword [edx], 5
call ebx
mov ecx, dword [esp + 0x44]
push 0
push 0x9c
push esi
mov dword [ecx], eax
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x9c
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x18]
push edx
push 0x9b
push esi
call edi
push eax
call ebp
push 2
lea eax, [esp + 0x1c]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, 3
add ecx, 3
add eax, eax
sub eax, ecx
push 0
mov dword [esp + 0x28], eax
sub eax, ecx
push eax
mov eax, dword [esp + 0x20]
sub edx, eax
push edx
push ecx
push eax
push 0x9b
push esi
mov dword [esp + 0x38], ecx
call edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x1e
xor edx, edx
mov ecx, 0x69
call fcn.0041d620
push eax
push 0x5ac5e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x5ac5e0
push 0
push 0xc
push 0x9b
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, esi
call fcn.00401000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
cmp eax, 0xa
jg 0x4015ef
mov eax, dword [esp + 0x3c]
push 0
push 0x1f4
push 0x7c
push esi
mov dword [eax], 3
call ebx
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc