Function at 0x4dab70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], ebx
jne 0x4daecf
mov ebx, dword [ebp + 0xc]
cmp ebx, 2
jne 0x4dac07
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dabf9
push dword [edi + 0xf8]
call fcn.005162d7
push 0xfffffffffffffffc
push dword [edi + 0xe8]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, eax
jne 0x4dabf9
push dword [edi + 0x104]
push 0xfffffffffffffffc
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4dabf9
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x104], eax
mov dword [edi + 0xe8], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x4daeb3
cmp ebx, 5
jne 0x4dad29
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x1c]
mov esi, dword [eax + 0xec]
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call dword [0x55604c]
lea ecx, [edi + 0x44]
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4dac68
push 0
push 0
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [edi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x1c]
mov eax, esp
push dword [ebp - 8]
mov esi, dword [esi + 0xf0]
mov ecx, esi
movups xmmword [eax], xmm0
call dword [0x55604c]
lea ecx, [edi + 0x44]
call esi
cmp dword [ebp - 0x24], 0
je 0x4daca2
push 0
push 1
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x20]
lea eax, [edi + 0xc4]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test eax, eax
mov dword [ebx], 0
cmove edi, ecx
cmp byte [eax + 0x1c], cl
je 0x4daced
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x4dacde
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4dacf2
test esi, esi
jne 0x4daced
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4dacf2
cmp esi, 1
je 0x4dad0b
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0xc4]
push eax
call fcn.004b0450
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x2e0
jne 0x4dadde
push dword [edi + 4]
call fcn.004193b0
mov ecx, dword [edi + 0x44]
add esp, 4
mov ebx, eax
mov dword [edi + 0xd8], 0xffffffff
mov dword [edi + 0xdc], 0xffffffff
mov esi, dword [ecx + 0x4c]
mov ecx, esi
push ebx
call dword [0x55604c]
lea ecx, [edi + 0x44]
call esi
mov eax, dword [edi + 0x44]
lea ecx, [ebp - 0xc]
push 1
push ecx
mov esi, dword [eax + 0xdc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x44]
call esi
mov eax, dword [ebp - 0xc]
mov dword [edi + 0xd8], eax
mov eax, dword [ebp - 8]
push ebx
push 0x15
mov dword [edi + 0xdc], eax
call dword [0x555650]
mov esi, eax
push ebx
push 3
neg esi
call dword [0x555650]
add esp, 0x10
neg eax
mov ecx, eax
neg ecx
push 1
push ecx
mov ecx, esi
neg ecx
push ecx
push eax
push esi
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x4daeb3
cmp ebx, 0x24
jne 0x4dae55
cmp dword [edi + 0xd8], 0xffffffff
mov esi, dword [ebp + 0x14]
je 0x4dae0a
cmp dword [edi + 0xdc], 0xffffffff
je 0x4dae0a
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
cmp byte [edi + 0x109], 0
je 0x4dae28
push 0x3b
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x3c
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x4dae31
mov eax, dword [esi + 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x84
jne 0x4daeb0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
cmp byte [edi + 0x109], 0
mov edx, eax
jne case.default.0x4dae87
lea eax, [edx - 0xa]
cmp eax, 7
ja case.default.0x4dae87
movzx ecx, byte [eax + 0x4daee8]
jmp dword [ecx*4 + 0x4daee4]
mov edx, 0x12
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x20]
push 0
push eax
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.004da9e0
test eax, eax
jne 0x4dae3d
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005150f0
mov esp, ebp
pop ebp
ret 0x18