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

Disassembly:
push 0xffffffffffffffff
push 0x48e4a4
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
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 0x494729
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.0040b5a0
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.0040b5a0
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.0042b450
add esp, 0x10
mov edi, 0x10
cmp dword [esp + 0x4c], edi
jb 0x42f1d9
mov eax, dword [esp + 0x38]
push eax
call fcn.00473948
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 0x42f206
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0xc0], ebx
je 0x42f26d
lea edx, [esp + 0xac]
push edx
call fcn.0042a3d0
add esp, 4
test al, al
je 0x42f26d
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.0040b380
cmp dword [esp + 0xc4], edi
jb 0x42f5a2
mov ecx, dword [esp + 0xb0]
push ecx
jmp 0x42f59a
push str.mediaget.exe
call fcn.0042aed0
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0040bd80
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 5
call fcn.0040b380
mov byte [esp + 0xd4], 4
cmp dword [esp + 0x30], edi
jb 0x42f2b8
mov eax, dword [esp + 0x1c]
push eax
call fcn.00473948
add esp, 4
lea ecx, [esp + 0xac]
push ecx
call fcn.0042a3d0
add esp, 4
test al, al
je 0x42f301
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.0040b380
cmp dword [esp + 0xc4], edi
jb 0x42f5a2
mov eax, dword [esp + 0xb0]
push eax
jmp 0x42f59a
push ebx
push 0x494729
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.0040b5a0
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.0040b5a0
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.0042b450
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 8
call fcn.0040b380
cmp dword [esp + 0x30], edi
jb 0x42f395
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00473948
add esp, 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x68], edi
jb 0x42f3b4
mov edx, dword [esp + 0x54]
push edx
call fcn.00473948
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 0x42f3de
mov eax, dword [esp + 0x70]
push eax
call fcn.00473948
add esp, 4
cmp dword [esp + 0xc0], ebx
je 0x42f427
lea ecx, [esp + 0xac]
push ecx
call fcn.0042a3d0
add esp, 4
test al, al
je 0x42f427
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.0040b380
lea ecx, [esp + 0xac]
call fcn.0040ae00
jmp 0x42f5a2
push 0x208
push ebx
mov dword [esp + 0xb0], 0x104
call fcn.00473d56
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 0x42f522
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.0042a950
push str.MediaGetmediaget.exe
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xe8], 0xa
call fcn.0040bd80
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 0xb
call fcn.0040b380
cmp dword [esp + 0x30], 0x10
jb 0x42f4b6
mov edx, dword [esp + 0x1c]
push edx
call fcn.00473948
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 0x42f4e1
mov eax, dword [esp + 0x70]
push eax
call fcn.00473948
add esp, 4
lea ecx, [esp + 0xac]
push ecx
call fcn.0042a3d0
add esp, 4
test al, al
je 0x42f522
lea edx, [esp + 0xac]
push edx
mov ecx, esi
call fcn.0040b570
cmp edi, ebx
je 0x42f511
push edi
call fcn.00473f71
add esp, 4
lea ecx, [esp + 0xac]
call fcn.0040ae00
jmp 0x42f5a2
call fcn.004317c0
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x42f572
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.0042a950
add esp, 8
cmp edi, ebx
je 0x42f55e
push edi
call fcn.00473f71
add esp, 4
cmp dword [esp + 0xc4], 0x10
jb 0x42f5a2
mov ecx, dword [esp + 0xb0]
push ecx
jmp 0x42f59a
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
cmp edi, ebx
je 0x42f588
push edi
call fcn.00473f71
add esp, 4
cmp dword [esp + 0xc4], 0x10
jb 0x42f5a2
mov edx, dword [esp + 0xb0]
push edx
call fcn.00473948
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.00474468
add esp, 0xc4
ret