Function at 0x4a05e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x4a095c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45f998]
call fcn.00462448
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x4a05c0
mov eax, dword [ebx + 0x10]
mov edx, dword [0x4a0968]
not edx
and edx, dword [eax + 0x50]
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x50], edx
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.00463c0c
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0046328c
mov eax, esi
xor edx, edx
call fcn.004e60c0
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f236c
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f23ec
pop edx
add edx, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edx, eax
mov dword [ebp - 8], edx
mov eax, esi
xor edx, edx
call fcn.004e60d4
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f2454
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f2304
pop edx
add edx, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edx, eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004a04e4
mov eax, edi
xor edx, edx
call fcn.004e60c0
mov dword [ebp - 0x14], eax
mov eax, edi
xor edx, edx
call fcn.004e60d4
mov dword [ebp - 0x18], eax
mov eax, esi
xor edx, edx
call fcn.004e60c0
cmp eax, dword [ebp - 0x14]
jne 0x4a06f5
mov eax, esi
xor edx, edx
call fcn.004e60d4
cmp eax, dword [ebp - 0x18]
je 0x4a083e
cmp dword [edi], 0
je 0x4a070f
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f236c
add eax, dword [edi]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x4a0714
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [edi + 4], 0
je 0x4a0730
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f236c
add eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x4a0735
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.004e60c0
cmp eax, dword [edi + 8]
je 0x4a077a
cmp dword [ebp - 0x1c], 0
jne 0x4a076c
mov eax, esi
xor edx, edx
call fcn.004e60c0
sub eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f23ec
pop edx
add edx, eax
sub edx, dword [ebx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4a077f
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4a077f
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.004e60d4
cmp eax, dword [edi + 0xc]
je 0x4a07c0
cmp dword [ebp - 0x24], 0
jne 0x4a07b5
mov eax, esi
xor edx, edx
call fcn.004e60d4
mov edi, eax
sub edi, dword [ebp - 0x18]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f2304
add edi, eax
mov eax, edi
sub eax, dword [ebx + 0xc]
jmp 0x4a07c2
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
jmp 0x4a07c2
xor eax, eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 4], edx
cmp dword [ebp - 0x1c], 0
jne 0x4a07e5
cmp dword [ebp - 0x24], 0
je 0x4a0848
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004cdfc8
mov edi, eax
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x14]
call fcn.00427d08
call fcn.0042337c
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, edi
call fcn.00427d08
call fcn.0042337c
push eax
call sub.gdi32.dll_BitBlt
mov edx, edi
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, edi
call fcn.00403b68
jmp 0x4a0848
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.004495d4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.004495f8
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4a0880
mov dl, 3
mov eax, dword [ebx + 0x10]
call fcn.00463f08
or edi, 0xffffffff
jmp 0x4a0882
xor edi, edi
push 0x14
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f2454
mov edx, dword [esi + 4]
sub edx, eax
add edx, dword [ebx + 0xc]
add edx, dword [ebp - 0x24]
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f236c
mov edx, dword [esi]
sub edx, eax
add edx, dword [ebx + 0xc]
add edx, dword [ebp - 0x1c]
push edx
push edi
mov eax, dword [ebx + 0x10]
call fcn.00450630
push eax
call sub.user32.dll_SetWindowPos
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.004175d8
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.00450630
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.00450630
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0x502710
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x14]
call fcn.00427d08
call fcn.0042337c
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.00450630
push eax
mov eax, dword [0x4ff068]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x10]
call fcn.00450630
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x14]
call fcn.00403b68
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8