Function at 0x404789
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x2a0]
mov dword [edi + 0xc0], eax
test eax, eax
jne 0x4047b0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [edi + 0xc0], eax
push ebx
xor ebx, ebx
push esi
cmp dword [edi + 0xc0], ebx
jne 0x4047c5
mov eax, dword [edi + 4]
mov dword [edi + 0xc0], eax
or esi, 0xffffffff
mov dword [edi + 0x114], ebx
mov dword [edi + 0xa8], esi
mov dword [edi + 0xac], esi
mov dword [edi + 0xa0], esi
mov dword [edi + 0xa4], esi
mov dword [edi + 0xd0], esi
mov dword [edi + 0xd4], esi
mov dword [edi + 0xd8], esi
mov dword [edi + 0xdc], esi
mov dword [edi + 0xe0], esi
mov dword [edi + 0xe4], esi
mov dword [edi + 0x118], esi
mov dword [edi + 0x11c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xe8], esi
xor ecx, ecx
mov dword [edi + 0xec], esi
mov dword [edi + 0xf0], esi
mov dword [edi + 0xf4], esi
mov dword [edi + 0xf8], esi
mov dword [edi + 0xfc], esi
mov dword [edi + 0x100], esi
mov dword [edi + 0x104], esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov eax, dword [edi + 0x108]
mov dword [edi + 0x10c], ebx
push 0x64
mov word [eax], cx
push dword [edi + 4]
mov byte [edi + 0x120], 1
call esi
push 0x65
push dword [edi + 4]
mov dword [edi + 0xb0], eax
call esi
push 0
push 1
push 0x2005
lea ebx, [edi + 0xb4]
push eax
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi + 0x140]
mov byte [edi + 0x128], 1
push eax
call fcn.0040dfff
push 9
push 0x4c4b50
push dword [edi + 4]
call fcn.00403891
push 2
push 0x4c4b74
push dword [edi + 4]
call fcn.004038f8
add esp, 0x1c
push 0x1bc
push dword [edi + 4]
call esi
lea esi, [edi + 0x30]
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 4]
call fcn.00411f93
push esi
lea ecx, [edi + 0x3c]
call fcn.0040e6cf
push 0x26
lea ecx, [edi + 0x3c]
call fcn.0040ee5f
push 0x1be
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [edi + 0x54]
push eax
call fcn.00411f93
lea eax, [edi + 0x48]
push eax
push 0x1bd
call fcn.004039a0
lea eax, [edi + 0x60]
push eax
push 0x19b
call fcn.004039a0
lea eax, [edi + 0x6c]
push eax
push 0x1bf
call fcn.004039a0
add esp, 0x18
push dword [edi + 0x84]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, edi
call fcn.00404ebf
mov ecx, edi
call fcn.00404ef2
push 0x1e
mov esi, 0x4c403c
mov ecx, ebx
push esi
push 0
call fcn.00410167
push 0x258
push esi
push 1
mov ecx, ebx
call fcn.00410167
push 0xffff
push 0
mov esi, 0x101e
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 1
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, edi
call fcn.004042a3
lea eax, [edi + 0x7c]
mov ecx, edi
push eax
lea eax, [edi + 0x78]
push eax
push 2
call fcn.0040fe48
push 1
mov ecx, edi
mov dword [edi + 0x124], 0x52
call fcn.0040fef3
cmp byte [edi + 0x29a], 0
jne 0x404a2c
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x6e
push dword [edi + 4]
call ebx
push 0
push eax
call esi
push 0xf41
push dword [edi + 4]
call ebx
push 0
push eax
call esi
push 0x7d
push dword [edi + 4]
call ebx
push 0
push eax
call esi
cmp dword [edi + 0x29c], 0
pop esi
pop ebx
jl 0x404a5c
movzx eax, word [edi + 0x29c]
push eax
push dword [0x4f7b48]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xc8
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, edi
mov dword [edi + 0x80], eax
call fcn.004040f5
mov ecx, edi
call fcn.00405068
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret