Function at 0x42cfa0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x48a285
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4acab8]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4acab8]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov esi, dword [esp + 0xdc]
xor ebx, ebx
push ebx
mov ebp, 0xf
push 0x490721
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.0040b580
push 0x11
push str.SoftwareMediaget
lea ecx, [esp + 0x3c]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.0040b580
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xb4]
push SysReAllocString
push edx
mov byte [esp + 0xe4], 1
call fcn.004296f0
add esp, 0x10
mov edi, 0x10
cmp dword [esp + 0x4c], edi
jb 0x42d079
mov eax, dword [esp + 0x38]
push eax
call fcn.0046fa18
add esp, 4
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0xd4], 4
cmp dword [esp + 0xa0], edi
jb 0x42d0a6
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0046fa18
add esp, 4
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0xc0], ebx
je 0x42d10d
lea edx, [esp + 0xac]
push edx
call fcn.004286a0
add esp, 4
test al, al
je 0x42d10d
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb4]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040b360
cmp dword [esp + 0xc4], edi
jb 0x42d442
mov ecx, dword [esp + 0xb0]
push ecx
jmp 0x42d43a
push str.mediaget.exe
call fcn.00429170
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0040bdb0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 5
call fcn.0040b360
mov byte [esp + 0xd4], 4
cmp dword [esp + 0x30], edi
jb 0x42d158
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046fa18
add esp, 4
lea ecx, [esp + 0xac]
push ecx
call fcn.004286a0
add esp, 4
test al, al
je 0x42d1a1
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb4]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040b360
cmp dword [esp + 0xc4], edi
jb 0x42d442
mov eax, dword [esp + 0xb0]
push eax
jmp 0x42d43a
push ebx
push 0x490721
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.0040b580
push 0x11
push str.SOFTWAREMediaget
lea ecx, [esp + 0x58]
mov byte [esp + 0xdc], 6
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.0040b580
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov byte [esp + 0xe4], 7
call fcn.004296f0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 8
call fcn.0040b360
cmp dword [esp + 0x30], edi
jb 0x42d235
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0046fa18
add esp, 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x68], edi
jb 0x42d254
mov edx, dword [esp + 0x54]
push edx
call fcn.0046fa18
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov byte [esp + 0xd4], 4
cmp dword [esp + 0x84], edi
jb 0x42d27e
mov eax, dword [esp + 0x70]
push eax
call fcn.0046fa18
add esp, 4
cmp dword [esp + 0xc0], ebx
je 0x42d2c7
lea ecx, [esp + 0xac]
push ecx
call fcn.004286a0
add esp, 4
test al, al
je 0x42d2c7
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb4]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040b360
lea ecx, [esp + 0xac]
call fcn.0040ae10
jmp 0x42d442
push 0x208
push ebx
mov dword [esp + 0xb0], 0x104
call fcn.0046fe26
mov edi, eax
add esp, 8
mov dword [esp + 0xa4], edi
push ebx
push 0x26
push edi
push ebx
mov byte [esp + 0xe4], 9
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42d3c2
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.00428bf0
push str.MediaGetmediaget.exe
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xe8], 0xa
call fcn.0040bdb0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 0xb
call fcn.0040b360
cmp dword [esp + 0x30], 0x10
jb 0x42d356
mov edx, dword [esp + 0x1c]
push edx
call fcn.0046fa18
add esp, 4
cmp dword [esp + 0x84], 0x10
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0xd4], 9
jb 0x42d381
mov eax, dword [esp + 0x70]
push eax
call fcn.0046fa18
add esp, 4
lea ecx, [esp + 0xac]
push ecx
call fcn.004286a0
add esp, 4
test al, al
je 0x42d3c2
lea edx, [esp + 0xac]
push edx
mov ecx, esi
call fcn.0040b550
cmp edi, ebx
je 0x42d3b1
push edi
call fcn.00470041
add esp, 4
lea ecx, [esp + 0xac]
call fcn.0040ae10
jmp 0x42d442
call fcn.0042f750
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x42d412
push 0x104
push edi
push ebx
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
push esi
call fcn.00428bf0
add esp, 8
cmp edi, ebx
je 0x42d3fe
push edi
call fcn.00470041
add esp, 4
cmp dword [esp + 0xc4], 0x10
jb 0x42d442
mov ecx, dword [esp + 0xb0]
push ecx
jmp 0x42d43a
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
cmp edi, ebx
je 0x42d428
push edi
call fcn.00470041
add esp, 4
cmp dword [esp + 0xc4], 0x10
jb 0x42d442
mov edx, dword [esp + 0xb0]
push edx
call fcn.0046fa18
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00470538
add esp, 0xc4
ret