Function at 0x418c14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4478ce
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4592c4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0xa4]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 4]
jne 0x418ee6
mov eax, dword [0x45c92c]
mov ecx, 0x45c92c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
and dword [esp + 0x58], 0
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax + 4]
add ecx, 4
lea eax, [esp + 0x10]
call fcn.0041a3f6
push dword [esp + 0x10]
lea edi, [esp + 0x18]
call fcn.0040ac19
mov byte [esp + 0x58], 1
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x418cb2
lea ecx, [esp + 0x14]
call fcn.0040aba7
mov eax, dword [esp + 0x10]
jmp 0x418fe2
mov eax, dword [ebx + 0xa4]
add eax, 0x10
mov eax, dword [eax]
mov eax, dword [eax]
push esi
mov ecx, eax
call fcn.0040aedf
test eax, eax
je 0x418ca0
mov eax, dword [ebx + 0xa4]
cmp byte [eax + 0x14], 0
je 0x418df7
mov byte [eax + 0x14], 0
mov eax, dword [ebx + 0xa4]
mov eax, dword [eax + 4]
add eax, 4
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
add eax, 4
push ecx
push dword [eax]
call edi
mov eax, dword [ebx + 0xa4]
mov ecx, dword [esi]
mov eax, dword [eax]
add eax, 4
push ecx
push dword [eax]
call edi
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
push 0
push eax
push eax
mov eax, dword [ebx + 0xa4]
mov edi, dword [eax]
add edi, 4
call fcn.004199b0
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov esi, dword [ebx + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x54]
sub eax, dword [esi + 0x50]
add esi, 0x44
sar eax, 3
lea edi, [eax - 1]
call fcn.00419ab6
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xa4]
mov eax, dword [eax]
add eax, 4
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0xa4]
mov eax, dword [eax]
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xa4]
cmp dword [eax + 0xc], 0
je 0x418ca0
lea eax, [esp + 0x28]
push eax
call fcn.00418fff
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 2
call fcn.00418974
mov byte [esp + 0x58], 3
mov eax, dword [eax]
mov edi, dword [esp + 0x48]
call fcn.00405f2e
mov byte [esp + 0x58], 2
lea ecx, [esp + 0x18]
call fcn.0040aba7
mov ecx, dword [ebx + 0xa4]
push dword [ecx]
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x74]
lea ecx, [esp + 0x48]
call fcn.0040aba7
jmp 0x418ca0
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [esi]
mov eax, dword [eax - 0xc]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
call fcn.0040ad02
mov byte [esp + 0x58], 4
mov eax, dword [eax]
mov edi, esi
call fcn.00405f2e
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 1
call fcn.0040aba7
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax]
add ecx, 4
lea eax, [esp + 0x10]
call fcn.0041a3f6
push dword [esi]
lea eax, [esp + 0x14]
push eax
call fcn.0040ae68
push dword [esp + 0x10]
push esi
call fcn.00406041
mov eax, dword [ebx + 0xa4]
mov ecx, dword [esi]
mov eax, dword [eax]
add eax, 4
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
push 0
push eax
push eax
mov eax, dword [ebx + 0xa4]
mov edi, dword [eax]
add edi, 4
call fcn.004199b0
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
add eax, 4
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0xa4]
cmp dword [eax + 0xc], 0
je 0x418ca0
lea eax, [esp + 0x28]
push eax
call fcn.00418fff
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 5
call fcn.00418974
mov byte [esp + 0x58], 6
mov eax, dword [eax]
mov edi, dword [esp + 0x48]
call fcn.00405f2e
mov byte [esp + 0x58], 5
jmp 0x418dcc
cmp ecx, dword [eax]
jne 0x418fea
mov esi, ebx
call fcn.0041996f
mov eax, dword [0x45c92c]
mov ecx, 0x45c92c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], 7
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax]
add ecx, 4
lea eax, [esp + 0x14]
call fcn.0041a3f6
push dword [esp + 0x14]
lea edi, [esp + 0x14]
call fcn.0040ac19
push dword [ebp + 8]
lea eax, [ebx + 0x8c]
push ebx
push eax
mov byte [esp + 0x64], 8
call fcn.00405182
mov eax, dword [ebx + 0xa4]
lea esi, [eax + 0x44]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 3
lea edi, [eax - 1]
call fcn.00419ab6
mov eax, dword [eax]
mov eax, dword [eax]
push dword [esp + 0x10]
mov ecx, eax
call fcn.0040aedf
test eax, eax
je 0x418fd5
mov eax, dword [ebx + 0xa4]
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 4
push 0xb0
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x20]
call fcn.0040abc8
mov byte [esp + 0x58], 9
push dword [esp + 0x14]
push dword [esp + 0x24]
call fcn.00406041
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 0x44
call fcn.00419acf
lea ecx, [esp + 0x20]
call fcn.0040aba7
lea ecx, [esp + 0x10]
call fcn.0040aba7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004018eb
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8