Function at 0x50cf0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov ebx, eax
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x50d01d
mov eax, esi
call fcn.0048d4b8
test al, al
je 0x50d01d
mov edx, esp
mov eax, ebx
call fcn.0050d7fc
mov eax, dword [ebx + 8]
cmp byte [eax + 0x69], 1
jne 0x50cf72
mov eax, esp
call fcn.0040c244
test al, al
jne 0x50cf72
mov edx, dword [esp]
neg edx
mov eax, esp
xor ecx, ecx
call fcn.0040c25c
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
test al, al
je 0x50cf72
mov eax, esp
xor ecx, ecx
mov edx, 2
call fcn.0040c25c
mov eax, esp
call fcn.0040c244
test al, al
je 0x50cf92
push 0
mov eax, dword [ebx + 0x44]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
jmp 0x50d01d
push 5
mov eax, dword [ebx + 0x44]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0050cbac
test al, al
je 0x50cfe6
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x44]
call fcn.0048d10c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x50d01d
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x44]
call fcn.0048d10c
push eax
call sub.user32.dll_SetWindowPos
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x50d12b
mov eax, esi
call fcn.0048d4b8
test al, al
je 0x50d12b
mov edx, esp
mov eax, ebx
call fcn.0050da74
mov eax, dword [ebx + 8]
cmp byte [eax + 0x69], 1
jne 0x50d080
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0050d7fc
lea eax, [esp + 0x20]
call fcn.0040c244
test al, al
jne 0x50d080
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.0050d7fc
lea eax, [esp + 0x10]
call fcn.0040bb8c
mov edx, eax
mov eax, esp
xor ecx, ecx
call fcn.0040c25c
mov eax, esp
call fcn.0040c244
test al, al
je 0x50d0a0
push 0
mov eax, dword [ebx + 0x2c]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
jmp 0x50d12b
push 5
mov eax, dword [ebx + 0x2c]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0050cbac
test al, al
je 0x50d0f4
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x2c]
call fcn.0048d10c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x50d12b
push 0x40
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x4c]
add eax, ebp
push eax
mov eax, dword [esi + 0x48]
add eax, edi
push eax
push 0
mov eax, dword [ebx + 0x2c]
call fcn.0048d10c
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret