Function at 0x405962
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push esi
mov esi, dword [0x421970]
push edi
push 0
mov edi, ecx
push 0xc
call ebx
push eax
push 0xb
call ebx
push eax
push 1
push 0x80
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
lea esi, [edi + 4]
push 1
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x421970]
push 0
push 0x32
mov dword [ebp - 4], eax
call ebx
push eax
push 0x31
call ebx
push eax
mov ebx, 0x80
push 1
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 0
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x38]
call fcn.004016ab
push dword [0x421950]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0x41b3d0
push 0x62
call fcn.00401b77
lea ecx, [ebp - 0x38]
call fcn.0040181c
push dword [ebp - 0x34]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [esi]
call ebx
cmp byte [edi + 0x54], 0
push dword [0x421950]
je 0x405a1b
push 0x47
jmp 0x405a1d
push 0x48
lea ecx, [ebp - 0x38]
call fcn.00401b77
lea ecx, [ebp - 0x38]
call fcn.0040181c
mov eax, dword [ebp - 0x34]
push 0x3f2
push dword [esi]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 4]
push eax
call ebx
cmp byte [edi + 0x54], 0
je 0x405af4
push 0x3fb
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0x58]
call fcn.00411d0e
push dword [0x421950]
lea ecx, [ebp - 0x38]
push 0x45
call fcn.00401b77
lea ecx, [ebp - 0x38]
call fcn.0040181c
push dword [ebp - 0x34]
push dword [edi + 0x5c]
call ebx
push 5
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x403
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0xa8]
call fcn.00411d0e
push dword [0x421950]
lea ecx, [ebp - 0x38]
push 0x5b
call fcn.00401b77
lea ecx, [ebp - 0x38]
call fcn.0040181c
push dword [ebp - 0x34]
add edi, 0xac
push dword [edi]
call ebx
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x405b56
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call edi
push 0x403
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x24]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call edi
test eax, eax
je 0x405b36
lea eax, [ebp - 0xc]
push eax
push dword [esi]
call edi
mov eax, dword [ebp - 8]
push 0x206
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.004019d4
push dword [0x421950]
lea ecx, [ebp - 0x38]
push 0x55
call fcn.00401b77
lea ecx, [ebp - 0x38]
call fcn.0040181c
mov edi, dword [ebp - 0x34]
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
call ebx
lea ecx, [ebp - 0x38]
call fcn.004016bf
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10