Function at 0x50e800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov edi, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
jne 0x50ea6f
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a1514]
call fcn.00482154
mov esi, eax
mov dword [ebx + 0xc], esi
mov eax, dword [0x50ea78]
not eax
and eax, dword [esi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x50e7e0
push edi
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x20]
mov dl, 1
call fcn.00555efc
mov esi, dword [ebx + 8]
mov edx, esi
shl esi, 4
add esi, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x2c]
add eax, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x30]
add eax, edx
mov edx, dword [ebx + 4]
add edx, edx
sub eax, edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
mov dl, 1
call fcn.00555f10
mov esi, dword [ebx + 8]
mov edx, esi
shl esi, 4
add esi, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x2e]
add eax, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx edx, word [edx + esi*4 + 0x32]
add eax, edx
mov edx, dword [ebx + 4]
add edx, edx
sub eax, edx
mov dword [ebp - 4], eax
mov byte [0x5717d2], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0050e6a8
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
call fcn.00469a6c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00469aa0
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongW
test al, 8
jne 0x50e92c
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x5c], 0
jne 0x50e931
or esi, 0xffffffff
jmp 0x50e93b
push 3
push edi
call sub.user32.dll_GetWindow
mov esi, eax
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 0x78b8]
movsx eax, word [edx + eax*4 + 0x2e]
mov edx, dword [ebp - 0x1c]
sub edx, eax
add edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ecx, eax
shl eax, 4
add eax, ecx
mov ecx, dword [ebx + 0x20]
mov ecx, dword [ecx + 0x78b8]
movsx eax, word [ecx + eax*4 + 0x2c]
push eax
mov eax, dword [ebp - 0x20]
pop ecx
sub eax, ecx
add eax, dword [ebx + 4]
xor ecx, ecx
call fcn.004080ac
test esi, esi
jne 0x50e990
mov esi, edi
mov eax, dword [ebx + 0xc]
call fcn.00472cbc
mov eax, dword [ebx + 0xc]
call fcn.0047308c
test al, al
je 0x50ea6f
mov edi, 0x80020
push 0xffffffffffffffec
mov eax, dword [ebx + 0xc]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
or edi, eax
push edi
push 0xffffffffffffffec
mov eax, dword [ebx + 0xc]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
push 0x611
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov edi, dword [ebp - 0x40]
push edi
push esi
mov eax, dword [ebx + 0xc]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
mov edx, edi
mov eax, dword [ebx + 0xc]
call fcn.00488268
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
call fcn.004882a4
lea ecx, [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.00555e98
push 0
call sub.user32.dll_GetDC
mov esi, eax
movzx eax, byte [ebp + 0xc]
mov byte [0x5717d2], al
push 2
push 0x5717d0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x10]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebx + 0xc]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0xc]
call fcn.00472ce0
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8