Function at 0x4039c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x4160a8]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x20
lea eax, [ebp - 8]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov byte [ebp - 0x128], 0
push 0xff
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.004076d0
add esp, 0xc
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
push eax
push 0x100
mov ecx, dword [ebp - 0x140]
add ecx, 0xc
push ecx
call fcn.004035b0
mov edx, dword [ebp - 0x140]
cmp dword [edx + 4], 0
jne 0x403bee
mov eax, dword [ebp - 0x140]
push eax
push 0x4038a0
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 8]
push edx
push 0x44d
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebp - 0x140]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x140]
cmp dword [eax + 4], 0
jne 0x403a93
xor al, al
jmp 0x403c41
mov ecx, dword [ebp - 0x140]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 4]
push eax
call fcn.00403910
add esp, 0x14
push 1
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x100
lea ecx, [ebp - 0x128]
push ecx
push 0xe
mov edx, dword [ebp - 0x140]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x128]
push ecx
push 0x66
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x68
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push 0x66
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push 0x68
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x63
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x403bdc
mov edx, dword [ebp - 0x12c]
push edx
push 1
push 0x80
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x403c32
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x403c30
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x403bee
mov ecx, dword [ebp - 0x140]
mov byte [ecx + 0x10c], 1
mov al, 1
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00407687
mov esp, ebp
pop ebp
ret 0xc