Function at 0x49f010
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x555aad
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov ebx, ecx
push dword [ebp + 0x18]
push edi
call fcn.0040d1a0
add esp, 0xc
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
test edi, edi
je 0x49f2ba
push esi
push 0x7f00
push 0
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x64], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov esi, dword [ebp + 0xc]
push 0xf
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xfffffffffffffffa
push 0
mov dword [ebp - 0x50], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 3
call dword [sym.imp.USER32.dll_RegisterClassA]
push ebx
push 0xfffffffffffffffa
push 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0
push 0
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0
push 0x90000000
push esi
push esi
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebx + 0x1e0]
mov esi, eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0xd8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0xdc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0xd4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x49f134
push eax
push edi
call fcn.0040e040
jmp 0x49f13a
push edi
call fcn.0040e000
cmp dword [edi], 0
jne 0x49f210
mov ecx, dword [ebx + 0x1e0]
push 1
push edi
push esi
call fcn.0040ece0
mov edi, eax
cmp dword [edi], 0
jne 0x49f210
call fcn.0040ac10
test al, al
je 0x49f189
mov ecx, dword [edi + 4]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
mov esi, dword [ecx]
push dword [ebp + 0x14]
push ecx
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x55f634]
call esi
mov esi, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x49f1a2
mov ecx, dword [ebx + 0x1e0]
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call fcn.0040ed40
mov edi, eax
cmp dword [edi], 0
jne 0x49f210
mov ecx, dword [ebx + 0x1e0]
push edi
call fcn.0040e080
mov edi, eax
cmp dword [edi], 0
jne 0x49f210
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x49f217
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x49f1e6
jmp 0x49f217
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x1e0]
push edi
call fcn.0040e130
mov ecx, dword [ebx + 0x1e0]
push edi
call fcn.0040e0f0
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0xcc
push 0xe
call fcn.004204a0
mov edx, dword [ebp - 0x14]
add esp, 0xc
pop esi
cmp edx, 0x10
jb 0x49f29b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49f291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49f2d1
push edx
push ecx
call fcn.004c824c
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [ebp + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004f1161
int3