Function at 0x446840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479c6b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00445e30
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00406400
test al, al
je 0x4468dd
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
mov edi, 0x90000080
push eax
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00406010
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x30], eax
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
dec eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
dec eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x4468e2
mov edi, 0x40000080
mov ecx, dword [esi + 0x10]
call fcn.00441570
test al, 1
je 0x4468f3
or edi, 1
jmp 0x4468fa
test al, 2
je 0x4468fa
or edi, 2
movups xmm0, xmmword [ebp - 0x30]
mov ecx, dword [esi + 0x10]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, edi
or eax, 0x20
cmp byte [ecx + 0x581], 0
cmove eax, edi
push eax
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00406010
push eax
mov ecx, esi
call fcn.0045e230
mov ecx, dword [esi + 0x10]
call fcn.00441580
cmp eax, 0xffffffff
je 0x446958
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405af0
test eax, eax
jne 0x44696b
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405870
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x10]
push 0
push dword [eax + 0x57c]
push 0xc5
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0x581], 0
je 0x4469b3
movzx eax, word [ecx + 0x584]
push 0
push eax
push 0xcc
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040bf30
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc20
push 0
push 0
push 0xb9
push dword [esi + 4]
call edi
push 0
push 3
push 0xd3
mov ecx, esi
call fcn.0045e2a0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x10]
xor ecx, ecx
push 0
cmp byte [eax + 0x580], 1
sete cl
push ecx
push 0xcf
push dword [esi + 4]
call edi
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x82c]
or ecx, eax
push ecx
push 0xfffffffffffffff0
mov ecx, esi
call fcn.0040c6a0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
cmp byte [eax + 0x582], 0
je 0x446aa2
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x446aaa
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [esi + 4]
call edi
mov byte [esi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045edac
mov esp, ebp
pop ebp
ret 4