Function at 0x499460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e280
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004987c0
mov ecx, dword [ebp + 8]
call fcn.00498ea0
or eax, 0x40000080
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
call fcn.00441da0
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
and ecx, 0
je 0x4994ec
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xac], edx
jmp 0x499522
mov eax, dword [ebp - 0xb4]
and eax, 1
je 0x499508
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
jmp 0x499522
mov edx, dword [ebp - 0xb4]
and edx, 2
je 0x499522
mov eax, dword [ebp - 0xac]
or eax, 2
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004998d0
movzx edx, al
test edx, edx
je 0x499546
mov eax, dword [ebp - 0xac]
or eax, 0x20
mov dword [ebp - 0xac], eax
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0xac]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00425ee0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.00430150
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.00441be0
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffff
je 0x4995ef
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00425910
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x499620
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00425590
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
push 1
mov ecx, dword [ebp - 0xb0]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.00498e00
push eax
push 0xc5
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004998d0
movzx edx, al
test edx, edx
je 0x49969f
push 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
call fcn.00498e70
movzx ecx, ax
push ecx
push 0xcc
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xd0]
call fcn.0042f190
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0042e7f0
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xa8]
call fcn.00430450
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0xe8]
call edx
movzx eax, al
cmp eax, 1
jne 0x499763
mov dword [ebp - 0xc0], 1
jmp 0x49976d
mov dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004998f0
movzx edx, al
cmp edx, 1
jne 0x4997a6
mov dword [ebp - 0xc4], 1
jmp 0x4997b0
mov dword [ebp - 0xc4], 0
push 0
mov eax, dword [ebp - 0xc4]
push eax
push 0xcf
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004998b0
movzx edx, al
test edx, edx
je 0x49984e
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x49982e
mov dword [ebp - 0xb8], 1
mov edx, dword [ebp - 0xb8]
push edx
push 0
push 0xb1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x499887
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
push 0xb1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xa8]
mov byte [edx + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret 4