Function at 0x4d0210
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 0x4d056f
mov ebx, dword [ebp + 0xc]
cmp ebx, 2
jne 0x4d02a7
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d0299
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 0x4d0299
push dword [edi + 0x104]
push 0xfffffffffffffffc
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4d0299
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 0x4d0553
cmp ebx, 5
jne 0x4d03c9
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 0x4d0308
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 0x4d0342
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 0x4d038d
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x4d037e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d0392
test esi, esi
jne 0x4d038d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d0392
cmp esi, 1
je 0x4d03ab
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 0x4d047e
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 0x4d0553
cmp ebx, 0x24
jne 0x4d04f5
cmp dword [edi + 0xd8], 0xffffffff
mov esi, dword [ebp + 0x14]
je 0x4d04aa
cmp dword [edi + 0xdc], 0xffffffff
je 0x4d04aa
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 0x4d04c8
push 0x3b
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x3c
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x4d04d1
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 0x4d0550
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.0x4d0527
lea eax, [edx - 0xa]
cmp eax, 7
ja case.default.0x4d0527
movzx ecx, byte [eax + 0x4d0588]
jmp dword [ecx*4 + 0x4d0584]
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.004d0080
test eax, eax
jne 0x4d04dd
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