Function at 0x405219
Capabilities:
Hide graphical window

Disassembly:
push 0x3c
mov eax, 0x4666a9
call fcn.0044ae06
mov edi, ecx
lea esi, [edi + 4]
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.00401847
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x7f
push eax
call ebx
push eax
push 0
push 0x80
push dword [esi]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41c
push dword [esi]
call ebx
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x24]
sub eax, 0
mov dword [ebp - 0x30], 0x46ee38
mov dword [ebp - 0x2c], 0x46ee24
mov dword [ebp - 0x28], 0x46ee10
mov dword [ebp - 0x3c], 0x46ee04
mov dword [ebp - 0x38], 0x46edf8
mov dword [ebp - 0x34], 0x46eb18
mov dword [ebp - 0x48], 0x46ed68
mov dword [ebp - 0x44], 0x46ec78
mov dword [ebp - 0x40], 0x46ebc0
mov dword [ebp - 0x20], 0x46eb14
mov dword [ebp - 0x1c], str.vU__
mov dword [ebp - 0x18], 0x46eb7c
je 0x4053f2
dec eax
je 0x4052d2
dec eax
je 0x405338
jmp 0x40543c
push 0x430
push dword [esi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x431
push dword [esi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x437
push dword [esi]
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x438
push dword [esi]
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x402
push dword [esi]
call ebx
push 5
xor ecx, ecx
push ecx
push ecx
push 0x45
push 0xb4
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x402
push dword [esi]
call ebx
lea ebx, [edi + 0x30]
push eax
mov ecx, ebx
call fcn.00403c4a
lea eax, [ebp - 0x10]
push eax
mov dword [ebx + 0x54], 4
call fcn.0040bc18
pop ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
push dword [eax]
push ecx
push ecx
push 0x7f
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [edi + 0x78]
call fcn.00401bee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402578
mov eax, dword [edi + 0x24]
push dword [ebp + eax*4 - 0x20]
mov ecx, ebx
call fcn.00402a37
mov eax, dword [edi + 0x24]
push dword [ebp + eax*4 - 0x20]
mov ecx, ebx
call fcn.0040299c
push 0
push 0x2000
lea ebx, [edi + 0x2c]
push 0
mov ecx, ebx
call fcn.00401997
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
cmp dword [edi + 0x24], 2
push 2
setne al
push 0x14
dec eax
and eax, 0xa
add eax, 0x50
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x40543c
cmp dword [edi + 0x28], 0
jge 0x405406
push 0x46eb6c
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x402
push dword [esi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x430
push dword [esi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x431
push dword [esi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x24], 2
jne 0x40544b
mov ecx, edi
call fcn.0040516a
jmp 0x405460
cmp dword [edi + 0x28], 0
jl 0x40546b
push dword [edi + 0x8c]
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [edi + 0x28], 0
mov eax, 0x46eb64
jge 0x405470
mov eax, 0x46eb5c
push eax
lea ecx, [ebp - 0x14]
call fcn.00404f7e
mov dword [ebp - 4], 1
mov ecx, dword [edi + 0x24]
push dword [ebp + ecx*4 - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040474f
add esp, 0xc
mov byte [ebp - 4], 2
push dword [eax]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402578
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402578
mov eax, dword [edi + 0x24]
push dword [ebp + eax*4 - 0x3c]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x42f
push dword [esi]
call ebx
mov eax, dword [edi + 0x24]
push dword [ebp + eax*4 - 0x48]
push 0x42e
push dword [esi]
call ebx
xor eax, eax
call fcn.0044aea5
ret 0x10