Function at 0x4a9f10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x136
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
ja 0x4aa311
cmp eax, 0x135
jae 0x4aa483
cmp eax, 0x111
ja 0x4aa27a
je 0x4aa1e8
cmp eax, 0xf
je 0x4a9faa
cmp eax, 0x2b
jne 0x4aa456
test edi, edi
je 0x4aa456
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 0x3c]
jne 0x4aa456
mov ecx, dword [ebx + 0x40]
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push 3
push 0
push 0
push 0x10
push 0x10
push ecx
mov ecx, dword [edi + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x4aa456
lea edx, [esp + 0x28]
push edx
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0
push 0
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ecx, dword [esp + 0xc]
mov edi, eax
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowRgn]
mov edx, dword [ebx + 0x1c]
push edx
push edi
push esi
call dword [sym.imp.GDI32.dll_FillRgn]
mov eax, dword [ebx + 0x24]
push 1
push 1
push eax
push edi
push esi
call dword [sym.imp.GDI32.dll_FrameRgn]
push 0xe1ffff
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebx + 0x48]
cmp dword [ecx - 0xc], 0
je 0x4aa097
mov edi, dword [ebx + 0x84]
mov eax, dword [ebx + 0x4c]
add edi, 0xa
test eax, eax
mov dword [esp + 0x10], 9
je 0x4aa04e
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push edi
push 9
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [esp + 0x10], 0x1d
mov edx, dword [ebx + 0x44]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
push edx
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
mov dword [esp + 0x10], edi
lea ecx, [ecx]
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x4aa1bd
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4aa1bd
test ecx, ecx
je 0x4aa0cb
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4aa0d0
call fcn.005d29f1
mov edx, dword [ebx + 0x54]
mov edi, dword [edx + edi*4]
cmp dword [edi + 0x18], 1
jne 0x4aa12e
mov eax, dword [ebx + 0x2c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x28]
push ecx
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
push edx
push eax
mov eax, dword [ebx + 0x84]
add eax, dword [edi + 8]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x18], 2
jne 0x4aa186
mov ecx, dword [ebx + 0x34]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 0x30]
push edx
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx + 0x84]
add edx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [edi + 4]
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_TextOutW]
mov ecx, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x14]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x18], 5
jne 0x4aa1af
mov ecx, dword [ebx + 0x84]
mov eax, dword [edi + 0x20]
add ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
add dword [esp + 0x10], 1
mov edi, dword [esp + 0x10]
jmp 0x4aa0a0
mov eax, dword [ebx + 0x3c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4aa456
cmp edi, dword [ebx + 0x3c]
jne 0x4aa220
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 8]
test eax, eax
je 0x4aa456
mov ecx, dword [ebx + 0xc]
push ecx
add ebx, 0x60
push ebx
call eax
add esp, 8
jmp 0x4aa456
cmp dword [ebx + 8], 0
je 0x4aa456
xor edi, edi
lea esi, [ebx + 0x50]
nop
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4aa456
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4aa456
call fcn.0057a830
mov edx, dword [eax]
movzx eax, word [esp + 0x24]
cmp eax, dword [edx + 0x14]
je 0x4aa261
add edi, 1
jmp 0x4aa230
call fcn.0057a830
mov ecx, dword [ebx + 0xc]
mov edx, dword [eax]
mov eax, dword [ebx + 8]
push ecx
push edx
call eax
add esp, 8
jmp 0x4aa456
cmp eax, 0x113
jne 0x4aa456
cmp edx, 1
jne 0x4aa456
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4aa2ff
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowRgn]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_PtInRegion]
test eax, eax
jne 0x4aa2f3
push 1
push esi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4aa456
mov edx, dword [esp + 0xc]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4aa456
sub eax, 0x138
je 0x4aa483
sub eax, 0xc8
je 0x4aa3c4
sub eax, 2
jne 0x4aa456
cmp dword [ebx + 8], eax
je 0x4aa456
shr edi, 0x10
sub edi, dword [ebx + 0x84]
xor esi, esi
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x4aa456
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4aa456
test ecx, ecx
je 0x4aa36f
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4aa374
call fcn.005d29f1
mov eax, dword [ebx + 0x54]
movzx ecx, word [esp + 0x20]
mov eax, dword [eax + esi*4]
push edi
add eax, 4
push ecx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4aa394
add esi, 1
jmp 0x4aa344
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x4aa3a7
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4aa3ac
call fcn.005d29f1
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov eax, dword [edx + esi*4]
push ecx
mov ecx, dword [ebx + 8]
push eax
call ecx
add esp, 8
jmp 0x4aa456
shr edi, 0x10
sub edi, dword [ebx + 0x84]
xor esi, esi
nop
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x4aa442
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4aa442
test ecx, ecx
je 0x4aa3f3
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4aa3f8
call fcn.005d29f1
mov edx, dword [ebx + 0x54]
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x18], 2
jne 0x4aa436
mov ecx, edx
test ecx, ecx
je 0x4aa416
mov eax, dword [ebx + 0x58]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4aa41b
call fcn.005d29f1
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx + esi*4]
movzx ecx, word [esp + 0x20]
push edi
add eax, 4
push ecx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4aa43b
add esi, 1
jmp 0x4aa3d0
push 0x7f89
jmp 0x4aa447
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005d28b3
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005d28b3
mov esp, ebp
pop ebp
ret 0xc