Function at 0x4047e6
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 0x40480d
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 0x404822
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.0040e05c
push 9
push 0x4c5b70
push dword [edi + 4]
call fcn.0040392e
push 2
push 0x4c5b94
push dword [edi + 4]
call fcn.00403995
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.00411fc8
push esi
lea ecx, [edi + 0x3c]
call fcn.0040e72c
push 0x26
lea ecx, [edi + 0x3c]
call fcn.0040eebc
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.00411fc8
lea eax, [edi + 0x48]
push eax
push 0x1bd
call fcn.00403a3d
lea eax, [edi + 0x60]
push eax
push 0x19b
call fcn.00403a3d
lea eax, [edi + 0x6c]
push eax
push 0x1bf
call fcn.00403a3d
add esp, 0x18
push dword [edi + 0x84]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, edi
call fcn.00404f1c
mov ecx, edi
call fcn.00404f4f
push 0x1e
mov esi, 0x4c4ce0
mov ecx, ebx
push esi
push 0
call fcn.0041019c
push 0x258
push esi
push 1
mov ecx, ebx
call fcn.0041019c
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.00404300
lea eax, [edi + 0x7c]
mov ecx, edi
push eax
lea eax, [edi + 0x78]
push eax
push 2
call fcn.0040fe7d
push 1
mov ecx, edi
mov dword [edi + 0x124], 0x52
call fcn.0040ff28
cmp byte [edi + 0x29a], 0
jne 0x404a89
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 0x404ab9
movzx eax, word [edi + 0x29c]
push eax
push dword [0x4f8c68]
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.0040410e
mov ecx, edi
call fcn.004050c5
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret