Function at 0x490670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x658bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x6f03ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
mov dword [eax + 0x5b0], 0
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx + 4], 0
jne 0x490784
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x12c]
call fcn.0048ffa0
mov dword [ebp - 0x134], 0x40000000
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0x134]
push eax
push 0
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x12c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00419a50
push eax
mov ecx, dword [ebp - 0x12c]
call fcn.0042b990
push 1
mov ecx, dword [ebp - 0x12c]
mov ecx, dword [ecx + 0x10]
call fcn.00430940
push eax
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.004194e0
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x13c]
call fcn.0040fe60
mov byte [ebp - 0x12d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0040ef70
movzx edx, byte [ebp - 0x12d]
test edx, edx
je 0x490801
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
add ecx, 0x5a0
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
call fcn.00490450
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0040f1c0
push eax
push 0
push 0x1032
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
add ecx, 0x5a0
push ecx
mov edx, dword [ebp - 0x12c]
add edx, 0x1a
push edx
call fcn.004e5ba0
add esp, 0xc
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
add ecx, 0x5a0
push ecx
push 0
push 0x1002
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x12c]
mov byte [edx + 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.0040ef70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdca5
mov esp, ebp
pop ebp
ret 4