Function at 0x4b52d4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x4b5670
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47d2fc]
call fcn.0047fdcc
mov edi, eax
mov dword [ebx + 0x10], edi
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x1c], eax
mov edi, dword [ebx + 0x10]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], 0x4b52b4
mov eax, dword [0x4b567c]
not eax
and eax, dword [edi + 0x50]
mov dword [edi + 0x50], eax
xor edx, edx
mov eax, edi
call fcn.00481590
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.00480c10
mov eax, esi
xor edx, edx
call fcn.005046e8
mov edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.0051159c
add edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00511600
add edi, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edi, eax
mov dword [ebp - 0xc], edi
mov eax, esi
xor edx, edx
call fcn.005046fc
mov edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00511648
add edi, eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00511554
add edi, eax
mov eax, dword [ebx + 0xc]
add eax, eax
sub edi, eax
mov dword [ebp - 8], edi
mov byte [0x54fdfe], 0xff
mov ecx, edi
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.005046e8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.005046fc
mov dword [ebp - 0x1c], eax
mov eax, esi
xor edx, edx
call fcn.005046e8
cmp eax, dword [ebp - 0x18]
jne 0x4b53e5
mov eax, esi
xor edx, edx
call fcn.005046fc
cmp eax, dword [ebp - 0x1c]
je 0x4b5537
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4b5404
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.0051159c
mov edi, eax
mov eax, dword [ebp - 4]
add edi, dword [eax]
sub edi, dword [ebx + 0xc]
jmp 0x4b5406
xor edi, edi
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4b5428
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.0051159c
mov edx, dword [ebp - 4]
add eax, dword [edx + 4]
sub eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x4b542d
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, esi
xor edx, edx
call fcn.005046e8
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
je 0x4b5472
test edi, edi
jne 0x4b5465
mov eax, esi
xor edx, edx
call fcn.005046e8
sub eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00511600
pop edx
add edx, eax
sub edx, dword [ebx + 0xc]
mov dword [ebp - 0x20], edx
jmp 0x4b5477
mov eax, dword [ebp - 0xc]
sub eax, edi
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
jmp 0x4b5477
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, esi
xor edx, edx
call fcn.005046fc
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xc]
je 0x4b54bb
cmp dword [ebp - 0x24], 0
jne 0x4b54b0
mov eax, esi
xor edx, edx
call fcn.005046fc
sub eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00511554
mov edx, eax
pop eax
add eax, edx
sub eax, dword [ebx + 0xc]
jmp 0x4b54bd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
jmp 0x4b54bd
xor eax, eax
mov edx, dword [ebp - 0xc]
sub edx, edi
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 8], edx
test edi, edi
jne 0x4b54dd
cmp dword [ebp - 0x24], 0
je 0x4b553e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004e7230
mov dword [ebp - 0x28], eax
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
push edi
mov eax, dword [ebx + 0x14]
call fcn.0042c1dc
call fcn.00427d44
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.0042c1dc
call fcn.00427d44
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
call fcn.00403710
jmp 0x4b553e
xor edi, edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x10]
call fcn.00466d60
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.00466d84
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4b557a
mov dl, 3
mov eax, dword [ebx + 0x10]
call fcn.0048188c
mov dword [ebp - 0x2c], 0xffffffff
jmp 0x4b5588
push 3
mov eax, dword [ebp + 8]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4b5594
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push 0x14
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
call fcn.00511648
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.0051159c
mov edx, dword [esi]
sub edx, eax
add edx, dword [ebx + 0xc]
add edi, edx
push edi
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowPos
lea ecx, [ebp - 0x14]
xor edx, edx
xor eax, eax
call fcn.00418a74
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0x54fdfc
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x14]
call fcn.0042c1dc
call fcn.00427d44
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
mov eax, dword [ebx + 0x10]
call fcn.0046dee0
push eax
mov eax, dword [0x54e8ac]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x14]
call fcn.00403710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8