Function at 0x416210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0xa8
push ebx
push esi
lea ecx, [esp + 0xc]
mov dword [edi + 0x10], eax
push ecx
mov eax, edi
call fcn.004164b0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
cmp byte [eax + 0x179], 0
je 0x4162a1
mov ecx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov dword [esp + 8], 0x90000080
call eax
mov edx, dword [eax + 0xb4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
add dword [esp + 0xc], eax
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ebx, eax
mov eax, dword [esp + 0x20]
lea edx, [ecx + eax - 1]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
lea esi, [ecx + eax - 1]
jmp 0x4162b1
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], 0x40000080
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x55c]
test al, 1
je 0x4162c5
or dword [esp + 8], 1
jmp 0x4162ce
test al, 2
je 0x4162ce
or dword [esp + 8], 2
cmp byte [ecx + 0x581], 0
je 0x4162dc
or dword [esp + 8], 0x20
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
sub esi, ecx
push esi
sub ebx, edx
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [eax + 0xb4]
push 0
push ecx
push 0
push edx
mov ecx, edi
call fcn.00401370
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0x558]
cmp esi, 0xffffffff
je 0x41632e
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, esi
mov edx, eax
call fcn.00409710
test eax, eax
jne 0x416341
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov esi, eax
call fcn.00408c60
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
mov eax, dword [edi + 4]
push 0x30
push eax
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 0x57c]
mov eax, dword [edi + 4]
push 0
push edx
push 0xc5
push eax
call esi
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x581], 0
je 0x41638a
movzx ecx, word [eax + 0x584]
mov edx, dword [edi + 4]
push 0
push ecx
push 0xcc
push edx
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x2c]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x4163bb
push eax
call fcn.00479054
add esp, 4
mov edx, dword [edi + 4]
push 0
push 0
push 0xb9
push edx
call esi
mov eax, dword [edi + 4]
push 0
push 3
push 0xd3
push eax
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
mov edx, dword [edi + 4]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
xor ecx, ecx
cmp byte [eax + 0x580], 1
push 0
sete cl
push ecx
push 0xcf
push edx
call esi
mov eax, dword [edi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x82c]
or edx, eax
mov eax, dword [edi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [edi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x582], 0
je 0x416488
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x41646e
mov eax, 1
mov edx, dword [edi + 4]
push eax
push 0
push 0xb1
push edx
call esi
mov byte [edi + 0x18], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [edi + 4]
push eax
push eax
push 0xb1
push ecx
call esi
pop esi
mov byte [edi + 0x18], 1
pop ebx
mov esp, ebp
pop ebp
ret 4