Function at 0x4aa820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556c95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
push dword [ebp + 0x1c]
mov edi, ecx
push dword [ebp + 0x18]
mov dword [ebp - 0x10], edi
push ebx
call fcn.0040d1a0
add esp, 0xc
test ebx, ebx
je 0x4aa9e2
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 edi
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 ebx, eax
call fcn.00449de0
test al, al
je 0x4aa9fa
push 3
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push ebx
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 0x4aa958
nop
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 0x4aa930
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
call fcn.0040a910
test eax, eax
js 0x4aa9e2
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
cmp edx, 0x10
jb 0x4aa9d7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa9cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aab94
push edx
push ecx
call fcn.004c824c
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0x1f0]
call fcn.0040e000
cmp dword [edi], 0
jne 0x4aaafa
mov ecx, dword [esi + 0x1f0]
push 1
push edi
push ebx
call fcn.0040ece0
mov edi, eax
cmp dword [edi], 0
jne 0x4aaafa
call fcn.0040ac10
test al, al
je 0x4aaa5e
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
mov esi, dword [ecx]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov esi, dword [esi + 0x54]
push ecx
mov ecx, esi
call dword [0x55f634]
call esi
mov esi, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x4aaa89
mov eax, dword [esi + 0xd4]
test eax, eax
jle 0x4aaa6b
push eax
jmp 0x4aaa6f
jne 0x4aaa89
push 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi + 0x1f0]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
call fcn.0040ed40
mov edi, eax
cmp dword [edi], 0
jne 0x4aaafa
mov ecx, dword [esi + 0x1f0]
push edi
call fcn.0040e080
mov edi, eax
cmp dword [edi], 0
jne 0x4aaafa
push 3
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push ebx
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 0x4aab01
nop dword [eax]
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 0x4aaad0
jmp 0x4aab01
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x1f0]
push edi
call fcn.0040e130
mov ecx, dword [esi + 0x1f0]
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], 1
push eax
push 0xcc
push 0xe
call fcn.004204a0
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x4aab84
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aab7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aab99
push edx
push ecx
call fcn.004c824c
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4aa9e5
call fcn.004f1161
call fcn.004f1161
int3