Function at 0x456c40
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x488481
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb84
push ebx
push esi
push edi
mov dword [esp + 0x14], ecx
call fcn.00441cf0
test eax, eax
je 0x456d02
push 0
lea eax, [esp + 0x994]
push str.CSetupApp::AudioDeviceCleanup_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x890]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x890]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x990]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x890]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.004603e0
cmp eax, 0xb
je 0x4570fa
cmp eax, 0xc
je 0x4570fa
mov eax, dword [0x4a6844]
push ebp
mov dword [esp + 0x124], eax
mov dword [esp + 0xb9c], 0
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
push 0x403560
push 0x403540
push 5
lea ecx, [esp + 0x14c]
push 8
push ecx
mov byte [esp + 0xbb0], 6
call fcn.00466040
mov eax, dword [0x4a6844]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], eax
mov edx, dword [esp + 0xba4]
mov dword [esp + 0xb9c], 7
mov ebp, dword [edx + 4]
test ebp, ebp
je 0x45700d
mov esi, ebp
mov ebp, dword [ebp]
add esi, 8
lea ecx, [esp + 0x124]
push esi
call fcn.00475f95
lea eax, [esi + 4]
lea ecx, [esp + 0x128]
push eax
call fcn.00475f95
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x130]
call fcn.00475f95
lea edx, [esi + 0xc]
lea ecx, [esp + 0x130]
push edx
call fcn.00475f95
lea eax, [esi + 0x10]
lea ecx, [esp + 0x134]
push eax
call fcn.00475f95
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x13c]
call fcn.00475f95
lea edx, [esi + 0x18]
lea ecx, [esp + 0x13c]
push edx
call fcn.00475f95
mov eax, esi
lea ecx, [esp + 0x124]
sub eax, ecx
lea ebx, [esi + 0x1c]
lea edi, [esp + 0x144]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 5
push ebx
lea ecx, [edi - 4]
call fcn.00475f95
mov edx, dword [esp + 0x1c]
mov ecx, edi
add edx, edi
push edx
call fcn.00475f95
mov eax, dword [esp + 0x14]
add ebx, 8
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x456e4b
lea eax, [esi + 0x44]
lea ecx, [esp + 0x168]
push eax
call fcn.00475f95
lea ecx, [esi + 0x48]
push ecx
lea ecx, [esp + 0x170]
call fcn.00475f95
lea edx, [esi + 0x4c]
lea ecx, [esp + 0x170]
push edx
call fcn.00475f95
mov eax, dword [esi + 0x50]
add esi, 0x54
mov ecx, 0x146
lea edi, [esp + 0x178]
mov dword [esp + 0x174], eax
push str.MEDIA
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00465e90
add esp, 8
test eax, eax
je 0x456ee4
test ebp, ebp
jne 0x456db5
jmp 0x45700d
lea edx, [esp + 0x690]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x690]
lea ecx, [esp + 0x20]
push eax
push str._sSYSTEMwstream.dll
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.004192b0
lea eax, [esp + 0x690]
lea ecx, [esp + 0x20]
push eax
push str._sSYSTEMwstrm32.dll
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.004192b0
lea eax, [esp + 0x690]
lea ecx, [esp + 0x20]
push eax
push str._sSYSTEMgenmidi.wsl
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.004192b0
lea eax, [esp + 0x690]
lea ecx, [esp + 0x20]
push eax
push str._sSYSTEMgmram.ewa
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.004192b0
lea eax, [esp + 0x690]
lea ecx, [esp + 0x20]
push eax
push str._sSYSTEMmsg32.exe
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.004192b0
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 5
push 0
push 0
push str.systray.exe
push str.open
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
push 5
push 0
push str.mmsys.cpl
push str.control.exe
push str.open
push 0
call esi
push 0x5dc
call edi
mov ecx, dword [esp + 0x18]
call fcn.00456ad0
lea ecx, [esp + 0x170]
mov dword [esp + 0xb9c], 0x11
call fcn.00475ea8
lea ecx, [esp + 0x16c]
mov byte [esp + 0xb9c], 0x10
call fcn.00475ea8
lea ecx, [esp + 0x168]
mov byte [esp + 0xb9c], 0xf
call fcn.00475ea8
push 0x403560
push 5
lea eax, [esp + 0x148]
push 8
push eax
mov byte [esp + 0xbac], 0xe
call fcn.00465d50
lea ecx, [esp + 0x13c]
mov byte [esp + 0xb9c], 0xd
call fcn.00475ea8
lea ecx, [esp + 0x138]
mov byte [esp + 0xb9c], 0xc
call fcn.00475ea8
lea ecx, [esp + 0x134]
mov byte [esp + 0xb9c], 0xb
call fcn.00475ea8
lea ecx, [esp + 0x130]
mov byte [esp + 0xb9c], 0xa
call fcn.00475ea8
lea ecx, [esp + 0x12c]
mov byte [esp + 0xb9c], 9
call fcn.00475ea8
lea ecx, [esp + 0x128]
mov byte [esp + 0xb9c], 8
call fcn.00475ea8
lea ecx, [esp + 0x124]
mov dword [esp + 0xb9c], 0xffffffff
call fcn.00475ea8
pop ebp
call fcn.00441cf0
test eax, eax
je 0x45719a
push 0
lea ecx, [esp + 0xa94]
push str.CSetupApp::AudioDeviceCleanup_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x790]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x790]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xa90]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x790]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
mov ecx, dword [esp + 0xb90]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xb90
ret 8