Function at 0x4a6510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599a9b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5e632c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.004a6840
mov dword [ebp - 0x18], 0x40000080
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x10]
call fcn.004a75e0
movzx ecx, al
test ecx, ecx
je 0x4a657e
mov edx, dword [ebp - 0x18]
or edx, 0x20
mov dword [ebp - 0x18], edx
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.004287b0
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.00454550
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx + 0x10]
call fcn.0047ebf0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4a6617
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.0045a390
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4a6642
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00459f10
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
push 0x30
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edx, dword [ebp - 0xb4]
mov ecx, dword [edx + 0x10]
call fcn.004a7480
push eax
push 0xc5
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xb4]
mov ecx, dword [edx + 0x10]
call fcn.004a75e0
movzx eax, al
test eax, eax
je 0x4a66be
push 0
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx + 0x10]
call fcn.004a7600
movzx edx, ax
push edx
push 0xcc
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
call fcn.004287b0
push eax
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.0045bfd0
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xb4]
call fcn.00454e60
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
sub ecx, 1
neg ecx
sbb ecx, ecx
add ecx, 1
push ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx + 0x10]
call fcn.004a7510
movzx edx, al
sub edx, 1
neg edx
sbb edx, edx
add edx, 1
push edx
push 0xcf
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
call fcn.004a7580
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0xb4]
call fcn.0040b340
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xb4]
mov byte [eax + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4