Function at 0x4c6390
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10]
mov dword [edx], 1
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push ecx
mov eax, esp
push 0
push 0x56000000
push 0
push ecx
mov dword [eax], 0
mov eax, esp
lea edx, [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [esi + 4]
push eax
lea ecx, [esi + 0x29c]
call fcn.004c3710
push 0
push ecx
mov eax, esp
push 0x200
push 0x56000000
push 0x674c64
push ecx
mov dword [esi + 0x2e4], 0x96
mov byte [esi + 0x2ec], 1
mov dword [esi + 0x2e0], 3
mov dword [eax], 0
mov eax, esp
lea ecx, [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 4]
push edx
lea ecx, [esi + 0x304]
call fcn.004c5f90
mov eax, dword [esi + 0x2a0]
push eax
mov eax, dword [esi + 0x308]
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [esi + 0x308]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call ebx
mov eax, dword [esi + 0x308]
lea ecx, [esi + 0x2c0]
mov dword [esi + 0x2c4], eax
call fcn.004c24c0
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esi + 4]
push edx
lea ecx, [esi + 0x50c]
call fcn.004c60d0
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x510]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 0x510]
push 5
lea edx, [esi + 0x618]
push eax
mov dword [esi + 0x5c4], edx
call ebx
mov ecx, dword [esi + 0x510]
mov dword [esi + 0x2c0], ecx
lea ecx, [esi + 0x2c0]
call fcn.004c24c0
mov edx, dword [esi + 0x2c0]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4c6509
mov eax, dword [esi + 0x2c0]
push 5
push eax
call ebx
mov ecx, dword [esi + 0x2c4]
push 0
push ecx
call ebx
xor ebx, ebx
cmp dword [esi + 0x2dc], ebx
je 0x4c6524
mov dword [esi + 0x2dc], ebx
lea ecx, [esi + 0x2c0]
mov dword [esi + 0x300], ebx
call fcn.004c24c0
mov edx, dword [esi + 0x510]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x18433
push ebx
push 0x1036
push edx
call edi
mov eax, dword [esi + 0x510]
push ebx
push ebx
push 0x104e
push eax
call edi
push 0x12c
push 0
mov ebx, eax
push 0x418
push ebx
call edi
mov ecx, dword [esi + 0x510]
push 0
push ebx
push 0x104a
push ecx
call edi
mov edx, dword [esi + 0x510]
push 0
push 0
push 0x101f
push edx
call edi
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x120c
push eax
mov dword [ebp - 0x3c], 0x80
mov dword [ebp - 0x1c], 0
call edi
lea edx, [ebp + 0x10]
push edx
call fcn.005bd6c0
add esp, 4
test eax, eax
je 0x4c660d
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x508]
push edi
push str.SMTPHSplitPos
push eax
call fcn.005bd460
add esp, 0xc
test eax, eax
jne 0x4c65e1
mov dword [edi], 0x55
mov ecx, dword [ebp + 0x10]
lea edi, [esi + 0x5bc]
push edi
push str.SMTPExtView
push ecx
call fcn.005bd3d0
add esp, 0xc
test eax, eax
jne 0x4c6603
mov dword [edi], 1
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 4]
push 0
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10