Function at 0x498da0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xa8]
push eax
mov dword [edi + 0x10], esi
call fcn.00498420
mov ecx, esi
call fcn.00460b70
mov ecx, dword [edi + 0x10]
mov esi, eax
or esi, 0x40000080
mov dword [ebp - 0x98], esi
call fcn.00466b80
test al, 1
je 0x498e07
or esi, 1
jmp 0x498e0e
test al, 2
je 0x498e14
or esi, 2
mov dword [ebp - 0x98], esi
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00498ff0
mov edx, dword [ebp - 0x98]
movups xmm0, xmmword [ebp - 0xa8]
push 0
sub esp, 0x10
or edx, 0x20
mov ecx, esp
test al, al
mov eax, dword [esi]
cmove edx, dword [ebp - 0x98]
push 0
push edx
mov eax, dword [eax + 0x24]
movups xmmword [ecx], xmm0
push 0
mov ecx, esi
call eax
mov ecx, eax
call fcn.00456900
push eax
mov ecx, edi
call fcn.0045ddd0
mov ecx, dword [edi + 0x10]
call fcn.00466a70
cmp eax, 0xffffffff
je 0x498e81
mov ecx, dword [edi + 0x10]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.004562a0
test eax, eax
jne 0x498e94
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call fcn.004561b0
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
push 0
call fcn.004989d0
push eax
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
call fcn.00498ff0
mov ecx, dword [edi + 0x10]
test al, al
je 0x498ee0
push 0
call fcn.00498a00
movzx eax, ax
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040bfc0
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0045ccc0
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.0045e300
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 0x10]
call fcn.00499000
push 0
movzx eax, al
push eax
push 0xcf
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x10]
call fcn.00498fe0
test al, al
mov eax, dword [edi + 4]
push eax
je 0x498fa5
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x498fad
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [edi + 4]
call esi
mov byte [edi + 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.004a186f
mov esp, ebp
pop ebp
ret 4