Function at 0x1000fec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x10]
test edx, edx
je 0x1000ffb8
cmp ebx, 0x10
jne 0x1000ff0c
mov esi, dword [ebp + 0x14]
cmp esi, 0xdead
je 0x1000ffa0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 5
jne 0x1000ff5e
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1000ffa0
mov ecx, dword [edx]
sub esp, 0x10
movzx eax, si
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movd xmm0, eax
mov eax, esi
cvtdq2ps xmm0, xmm0
shr eax, 0x10
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
mov eax, esp
cvtdq2ps xmm0, xmm0
push edx
movss dword [ebp - 0x14], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
call dword [ecx + 0x18]
jmp 0x1000ffa0
cmp ebx, 7
jne 0x1000ffb8
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov eax, dword [edx]
push ecx
push 0x10052144
push edx
call dword [eax]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1000ff9d
mov eax, dword [ecx]
push 0
push 1
push ecx
call dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1000ff9d
mov dword [ebp + 0xc], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
push esi
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 0x1a
jne 0x1000ffe9
push str.ImmersiveColorSet
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1000ff9d
cmp dword [0x1005d034], eax
sete al
push eax
push str.UseImmersiveDarkModeColors
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x1000ff9d
cmp ebx, 0x41
jne 0x100101c4
lea eax, [ebp - 0xc]
push eax
push eax
push 0
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_GetDpiForMonitor]
mov ecx, dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov eax, dword [0x1005e1fc]
js 0x1001001f
mov ebx, dword [ebp - 0xc]
jmp 0x1001004c
test eax, eax
jne 0x1001004a
push eax
call ecx
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [0x1005e1fc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1005e1fc]
mov ecx, dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test eax, eax
jne 0x10010071
push eax
call ecx
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [0x1005e1fc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1005e1fc]
push eax
push ebx
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [0x1005e1fc]
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x100100b5
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [0x1005e1fc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [0x1005e1fc]
push ecx
push ebx
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 0x1004fae0
push dword [edi]
mov dword [ebp - 4], 0
push 0
push 0x10052434
call dword [sym.imp.SHELL32.dll_SHCreateItemInKnownFolder]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100101b9
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
mov eax, dword [ecx]
push edx
push 0x10052424
push 0x1004fad0
push 0
push ecx
call dword [eax + 0xc]
cmp dword [ebp - 8], 0
je 0x100101a5
push dword [edi + 0x14]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
lea ebx, [edi + 0x14]
call esi
push dword [edi + 0x18]
add edi, 0x18
call esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
movzx edx, cx
mov ecx, dword [ebp - 0x10]
shl edx, 0x10
mov esi, dword [eax]
movzx ecx, cx
or edx, ecx
push edx
push ebx
push edi
push 0
push 0
push eax
call dword [esi + 0x10]
push dword [edi]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push edi
call esi
push dword [ebx]
push 0
push 0x80
push edi
call esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x10010186
mov dword [ebp - 8], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1001019a
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
jmp 0x1000ffa3
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100101b9
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 0x2e0
jne 0x100101e0
push 0
push 0
push 0x41
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1000ff9d
cmp ebx, 2
jne 0x10010202
push dword [edi + 0x14]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
call esi
push dword [edi + 0x18]
call esi
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x1000ff9d
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
cmp ebx, 0x24
jne 0x1000ffa3
mov dword [esi + 0x18], 0x280
mov dword [esi + 0x1c], 0x1e0
jmp 0x1000ffa3