Function at 0x4aadf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c9], 0
je 0x4ab25d
mov cl, 1
mov dl, 1
mov eax, dword [0x4aad8c]
call fcn.0041fd9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
or dword [eax + 0xa8], 0x1000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0044b9d0
xor ecx, ecx
mov edx, 0x4d
call fcn.0051cb50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x10], eax
mov dl, 5
mov eax, dword [ebp - 0x10]
call fcn.0041ff9c
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5c], bl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xf], 1
mov dl, 1
mov eax, dword [0x42d22c]
call fcn.0042d3dc
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], ebx
mov eax, ebx
call fcn.0042d3d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x4ab092
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov byte [eax + 0x25], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0044b9d0
xor ecx, ecx
xor edx, edx
call fcn.004a73a0
mov dl, 1
mov eax, dword [0x422700]
call fcn.004286fc
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov edx, dword [eax + 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ab08b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b3c20
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
call fcn.004b3cb8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x2cc]
mov esi, dword [edi + 0x40]
mov ebx, dword [edi + 0x44]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x4aaf8e
mov eax, edi
call fcn.0044b9d0
xor ecx, ecx
xor edx, edx
call fcn.004a88c0
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0044b9d0
xor ecx, ecx
xor edx, edx
call fcn.004a89d0
mov edi, eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a89e0
add ebx, eax
add edi, ebx
mov ebx, edi
push 0xcc0020
push ebx
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00444c18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00444bd4
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
call fcn.00428ccc
call fcn.00424800
push eax
call sub.gdi32.dll_BitBlt
push 0x1fffffff
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00444c18
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00444bd4
mov ecx, eax
mov eax, dword [ebp - 0x10]
add ecx, dword [eax + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
call fcn.00407340
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
mov cl, 0xff
call fcn.00506f78
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
add eax, 0x40
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0044b9d0
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x6c]
mov ecx, 0xff
call fcn.0051d91c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab0bf
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
ret
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0044b9d0
xor ecx, ecx
xor edx, edx
call fcn.004a6fc8
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], ebx
mov eax, dword [ebx + 0x2f8]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], eax
push 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0044b9d0
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x80000
jne 0x4ab136
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0
push 0x1fffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0044b9d0
push eax
mov eax, dword [0x586a50]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x48]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x78]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x4c]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x78]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x58], eax
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x4ab1a3
adc edx, 0
mov eax, dword [eax + 0x40]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], eax
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
sub edx, dword [eax + 0x4c]
sar edx, 1
jns 0x4ab1c4
adc edx, 0
mov eax, dword [eax + 0x44]
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x4ab1de
call fcn.00403d64
mov dl, 1
mov eax, dword [0x422700]
call fcn.004286fc
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], ebx
mov eax, ebx
mov dl, 7
call fcn.00429cdc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
mov byte [eax + 0x30], 1
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x74]
mov edx, dword [edx + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], edx
mov dword [eax + 0x60], 0x4ab264
mov eax, dword [ebp - 0x10]
call fcn.0042019c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret