Function at 0x4a6a7e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4a6a7e8a
add esp, 0xfffffff0
call fcn.4a6060c4
mov ebx, ecx
mov byte [ebp - 9], dl
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x4a6a826c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [edi]
call fcn.4a605af4
mov eax, dword [edi]
mov dword [eax + 4], ebx
mov eax, dword [edi]
add eax, 8
mov edx, dword [ebp + 8]
call fcn.4a607948
mov eax, dword [edi]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_IsWindowEnabled
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [edi]
mov byte [edx + 0xc], al
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x28
call fcn.4a605184
mov dword [ebp - 0x38], 0xc0
mov eax, sub.user32.dll_DefWindowProcW
mov dword [ebp - 0x34], eax
mov eax, dword [0x4a6d1c4c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x10
mov eax, 0x4a6a8298
mov dword [ebp - 0x14], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorW
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
call sub.user32.dll_RegisterClassW
lea eax, [ebp - 8]
mov edx, dword [0x4a6cc470]
call fcn.4a607990
push 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea eax, [ebp - 8]
mov edx, 0x4a6a82d0
call fcn.4a60efb0
push 0xc00000
push 0
call sub.user32.dll_GetSystemMetrics
sub eax, 0x190
sar eax, 1
jns 0x4a6a7f5b
adc eax, 0
push eax
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, 0x9b
sar eax, 1
jns 0x4a6a7f6f
adc eax, 0
push eax
push 0x190
push 0x9b
push ebx
push 0
mov eax, dword [0x4a6d1c4c]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.4a60824c
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, 1
call fcn.4a60dfb8
mov edx, dword [edi]
mov dword [edx + 0x2c], eax
mov edx, 0x4a6a77e8
mov ecx, 4
mov eax, dword [edi]
call fcn.4a615d00
mov edx, dword [edi]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
push eax
push 0xfffffffffffffffc
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetWindowLongW
push 0x4a6a82dc
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff5
call sub.gdi32.dll_CreateFontW
mov ebx, eax
mov eax, dword [edi]
mov dword [eax + 0x24], ebx
test ebx, ebx
jne 0x4a6a8028
push 0x4a6a82ec
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff4
call sub.gdi32.dll_CreateFontW
mov edx, dword [edi]
mov dword [edx + 0x24], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
mov eax, dword [edi]
mov dword [eax + 0x20], ebx
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov edx, dword [edi]
mov dword [edx + 0x28], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_GetClientRect
lea eax, [ebp - 0x58]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x44]
sub eax, edx
mov dword [ebp - 0x10], eax
sub dword [ebp - 0x40], 0x28
lea eax, [ebp - 8]
mov edx, dword [0x4a6cc474]
call fcn.4a607990
push 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea eax, [ebp - 8]
mov edx, 0x4a6a82d0
call fcn.4a60efb0
push 0x410
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.4a60824c
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
push eax
call sub.user32.dll_DrawTextW
mov dword [ebp - 0x48], 0xb
mov eax, 0xc
mov dword [ebp - 0x44], eax
push ebp
mov edx, dword [ebp - 0x48]
push edx
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, 0x4a6a8314
call fcn.4a6a7cc8
pop ecx
push 0xf0fff0
call sub.gdi32.dll_CreateSolidBrush
mov edx, dword [edi]
mov dword [edx + 0x14], eax
push 0xf0f0ff
call sub.gdi32.dll_CreateSolidBrush
mov edx, dword [edi]
mov dword [edx + 0x18], eax
push 0xf0f0f0
call sub.gdi32.dll_CreateSolidBrush
mov edx, dword [edi]
mov dword [edx + 0x1c], eax
mov esi, dword [ebp - 0x44]
add esi, dword [ebp - 0x3c]
add esi, 0xf
xor ebx, ebx
push ebp
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*8]
add eax, dword [ebp - 0x48]
mov ecx, 0x23
mov edx, esi
call fcn.4a6a7e04
pop ecx
mov edx, dword [edi]
mov dword [edx + ebx*4 + 0x30], eax
test ebx, ebx
jle 0x4a6a8175
push ebp
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*8]
add eax, dword [ebp - 0x48]
sub eax, 7
push eax
lea eax, [esi + 2]
push eax
push 5
push 0x10
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
xor ecx, ecx
mov edx, 0x4a6a8330
mov eax, 0x4a6a8314
call fcn.4a6a7cc8
pop ecx
inc ebx
cmp ebx, 4
jne 0x4a6a8126
sub esi, 2
lea eax, [ebp - 0x48]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_GetClientRect
push ebp
push 0x50
mov edx, dword [ebp - 0x40]
sub edx, 0xb4
mov ecx, esi
mov eax, dword [0x4a6cc478]
call fcn.4a6a7d74
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x50], eax
push ebp
push 0x50
mov edx, dword [ebp - 0x40]
sub edx, 0x5a
mov ecx, esi
mov eax, dword [0x4a6cc47c]
call fcn.4a6a7d74
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x54], eax
add esi, 0x21
push 4
mov eax, esi
add eax, dword [ebp - 0x10]
push eax
push 0x190
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, esi
sub eax, dword [ebp - 0x10]
sar eax, 1
jns 0x4a6a81e9
adc eax, 0
push eax
push 0
call sub.user32.dll_GetSystemMetrics
sub eax, 0x190
sar eax, 1
jns 0x4a6a81fd
adc eax, 0
push eax
push 0
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_EnableWindow
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetFocus
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
mov edx, dword [edi]
mov dword [edx + 0x44], eax
push 1
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4a6a8256
push 9
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a8273
lea eax, [ebp - 8]
call fcn.4a607588
ret