Function at 0x4c9e14
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 0x4ca190
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45e4b4]
call fcn.004610e0
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], 0x4c9df4
mov eax, dword [ebx + 0x10]
mov edx, dword [0x4ca19c]
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.004628a4
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.00461f24
mov eax, esi
xor edx, edx
call fcn.0050e7f4
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4d30
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4db0
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.0050e808
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4e18
pop edx
add edx, eax
push edx
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4cc8
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.004c9d18
mov eax, edi
xor edx, edx
call fcn.0050e7f4
mov dword [ebp - 0x14], eax
mov eax, edi
xor edx, edx
call fcn.0050e808
mov dword [ebp - 0x18], eax
mov eax, esi
xor edx, edx
call fcn.0050e7f4
cmp eax, dword [ebp - 0x14]
jne 0x4c9f29
mov eax, esi
xor edx, edx
call fcn.0050e808
cmp eax, dword [ebp - 0x18]
je 0x4ca072
cmp dword [edi], 0
je 0x4c9f43
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4d30
add eax, dword [edi]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x4c9f48
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [edi + 4], 0
je 0x4c9f64
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4d30
add eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x4c9f69
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.0050e7f4
cmp eax, dword [edi + 8]
je 0x4c9fae
cmp dword [ebp - 0x1c], 0
jne 0x4c9fa0
mov eax, esi
xor edx, edx
call fcn.0050e7f4
sub eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4db0
pop edx
add edx, eax
sub edx, dword [ebx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4c9fb3
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4c9fb3
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.0050e808
cmp eax, dword [edi + 0xc]
je 0x4c9ff4
cmp dword [ebp - 0x24], 0
jne 0x4c9fe9
mov eax, esi
xor edx, edx
call fcn.0050e808
mov edi, eax
sub edi, dword [ebp - 0x18]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.004f4cc8
add edi, eax
mov eax, edi
sub eax, dword [ebx + 0xc]
jmp 0x4c9ff6
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
jmp 0x4c9ff6
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 0x4ca019
cmp dword [ebp - 0x24], 0
je 0x4ca07c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00515fac
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.00428fb4
call fcn.00424b24
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.00428fb4
call fcn.00424b24
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.00403b78
jmp 0x4ca07c
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.00448098
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.004480bc
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4ca0b4
mov dl, 3
mov eax, dword [ebx + 0x10]
call fcn.00462ba0
or edi, 0xffffffff
jmp 0x4ca0b6
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.004f4e18
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.004f4d30
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.0044f16c
push eax
call sub.user32.dll_SetWindowPos
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.00418134
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0044f16c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0044f16c
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0x530b74
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x14]
call fcn.00428fb4
call fcn.00424b24
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.0044f16c
push eax
mov eax, dword [0x52d17c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x10]
call fcn.0044f16c
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x14]
call fcn.00403b78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8