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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c8f9
push eax
mov dword fs:[0], esp
sub esp, 0x63c
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004318b0
test eax, eax
je 0x440cf2
push ebp
push 0
lea eax, [esp + 0x550]
push str.CSetupApp::AudioDeviceCleanup_n
push eax
call fcn.0044cb10
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 + 0x34c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x34c]
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 + 0x54c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x34c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
pop ebp
mov eax, dword [0x4855a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x658]
mov dword [esp + 0x650], 0
mov edi, dword [ecx + 4]
test edi, edi
je 0x440f24
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x10]
lea esi, [eax + 8]
push esi
call fcn.0045cec5
lea edx, [esi + 4]
lea ecx, [esp + 0x14]
push edx
call fcn.0045cec5
lea eax, [esi + 8]
lea ecx, [esp + 0x18]
push eax
call fcn.0045cec5
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.0045cec5
lea edx, [esi + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.0045cec5
lea eax, [esi + 0x14]
lea ecx, [esp + 0x24]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0045cec5
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x2c]
push edx
call fcn.0045cec5
lea eax, [esi + 0x20]
lea ecx, [esp + 0x30]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x24]
push ecx
lea ecx, [esp + 0x38]
call fcn.0045cec5
lea edx, [esi + 0x28]
lea ecx, [esp + 0x38]
push edx
call fcn.0045cec5
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x2c]
push str.MEDIA
push ecx
mov dword [esp + 0x44], eax
call fcn.0044d010
add esp, 8
test eax, eax
je 0x440dfd
test edi, edi
jne 0x440d40
jmp 0x440f24
lea edx, [esp + 0x144]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x144]
lea ecx, [esp + 0x40]
push eax
push str._sSYSTEMwstream.dll
push ecx
call fcn.0044cb10
add esp, 0xc
lea edx, [esp + 0x40]
lea ecx, [esp + 0xc]
push edx
call fcn.00411c00
lea eax, [esp + 0x144]
lea ecx, [esp + 0x40]
push eax
push str._sSYSTEMwstrm32.dll
push ecx
call fcn.0044cb10
add esp, 0xc
lea edx, [esp + 0x40]
lea ecx, [esp + 0xc]
push edx
call fcn.00411c00
lea eax, [esp + 0x144]
lea ecx, [esp + 0x40]
push eax
push str._sSYSTEMgenmidi.wsl
push ecx
call fcn.0044cb10
add esp, 0xc
lea edx, [esp + 0x40]
lea ecx, [esp + 0xc]
push edx
call fcn.00411c00
lea eax, [esp + 0x144]
lea ecx, [esp + 0x40]
push eax
push str._sSYSTEMgmram.ewa
push ecx
call fcn.0044cb10
add esp, 0xc
lea edx, [esp + 0x40]
lea ecx, [esp + 0xc]
push edx
call fcn.00411c00
lea eax, [esp + 0x144]
lea ecx, [esp + 0x40]
push eax
push str._sSYSTEMmsg32.exe
push ecx
call fcn.0044cb10
add esp, 0xc
lea edx, [esp + 0x40]
lea ecx, [esp + 0xc]
push edx
call fcn.00411c00
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, ebx
call fcn.00440ac0
call fcn.004318b0
test eax, eax
je 0x440fc4
push 0
lea eax, [esp + 0x44c]
push str.CSetupApp::AudioDeviceCleanup_n
push eax
call fcn.0044cb10
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 + 0x248]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x248]
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 + 0x448]
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 + 0x248]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x38]
mov dword [esp + 0x650], 0xa
call fcn.0045cdd8
lea ecx, [esp + 0x34]
mov byte [esp + 0x650], 9
call fcn.0045cdd8
lea ecx, [esp + 0x30]
mov byte [esp + 0x650], 8
call fcn.0045cdd8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x650], 7
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x650], 6
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], 5
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x650], 4
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x650], 3
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x650], 2
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x650], 1
call fcn.0045cdd8
lea ecx, [esp + 0x10]
mov dword [esp + 0x650], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x648]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x648
ret 8