Function at 0x6004f347
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6009b084
call fcn.60095eb0
sub esp, 0x440
mov eax, dword [0x600b767c]
push ebx
push edi
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [0x6009e468]
lea ecx, [ebp - 0x10]
push ecx
push 0xf003f
push ebx
push eax
push 0x80000001
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
call sub.WMMUtil.dll_Ordinal_140
cmp eax, ebx
jne 0x6004f457
lea ecx, [ebp - 0x18]
call fcn.60017ac0
mov ecx, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x6004f457
mov eax, dword [str.Record_Path]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x44c]
push edx
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
push ecx
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x14], ebx
call sub.WMMUtil.dll_Ordinal_145
cmp eax, ebx
jne 0x6004f3fb
lea eax, [ebp - 0x44c]
test eax, eax
je 0x6004f3eb
lea eax, [ebp - 0x44c]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x44c]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.60005fd3
mov eax, dword [str.Import_Directory]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x18]
call sub.WMMUtil.dll_Ordinal_145
cmp eax, ebx
jne 0x6004f446
lea eax, [ebp - 0x44c]
test eax, eax
je 0x6004f436
lea eax, [ebp - 0x44c]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x44c]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.60005fd3
cmp dword [ebp - 0x18], ebx
je 0x6004f457
push dword [ebp - 0x18]
call dword [0x600bdbd8]
mov dword [ebp - 0x18], ebx
mov eax, dword [0x600b767c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
mov edi, 0x600be3f8
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.6005ef6b
test eax, eax
jge 0x6004f49d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.6002469f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.60017ac0
jmp 0x6004f69d
lea eax, [ebp - 0x244]
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push eax
push ebx
push ebx
push 5
push ebx
call esi
test eax, eax
jl 0x6004f4dc
lea eax, [ebp - 0x244]
test eax, eax
je 0x6004f4cc
lea eax, [ebp - 0x244]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.60005fd3
lea eax, [ebp - 0x244]
push eax
push 0x104
call sub.WMMUtil.dll_Ordinal_79
test eax, eax
jl 0x6004f517
lea eax, [ebp - 0x244]
test eax, eax
je 0x6004f507
lea eax, [ebp - 0x244]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.60005fd3
lea eax, [ebp - 0x244]
push eax
push ebx
push ebx
push 0x800e
push ebx
call esi
test eax, eax
lea eax, [ebp - 0x244]
jge 0x6004f547
push eax
push ebx
push ebx
push 0x8005
push ebx
call esi
test eax, eax
jl 0x6004f567
lea eax, [ebp - 0x244]
test eax, eax
je 0x6004f557
lea eax, [ebp - 0x244]
push eax
call sub.WMMUtil.dll_Ordinal_113
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.60005fd3
mov ecx, edi
call fcn.6005e587
test eax, eax
jl 0x6004f674
cmp dword [0x600bf134], ebx
je 0x6004f674
mov eax, dword [0x600b767c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x600bdc38]
mov edi, dword [0x600bdc40]
mov byte [ebp - 4], 4
cmp dword [eax - 8], ebx
je 0x6004f5f9
lea ecx, [ebp - 0x1c]
call fcn.6004f6ed
test eax, eax
je 0x6004f5f9
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x6004f5bc
xor eax, eax
jmp 0x6004f5c2
push eax
call sub.WMMUtil.dll_Ordinal_113
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.60005fd3
lea ecx, [ebp - 0x10]
call fcn.6004f6c2
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [0x600bf134]
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call edi
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
je 0x6004f663
lea ecx, [ebp - 0x20]
call fcn.6004f6ed
test eax, eax
je 0x6004f663
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call sub.WMMUtil.dll_Ordinal_110
test eax, eax
je 0x6004f663
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x6004f62a
xor eax, eax
jmp 0x6004f630
push eax
call sub.WMMUtil.dll_Ordinal_113
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.60005fd3
lea ecx, [ebp - 0x10]
call fcn.6004f6c2
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [0x600bf134]
push dword [ebp - 0x14]
mov byte [ebp - 4], 6
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.60005fa7
mov edi, 0x600be3f8
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.6005efe7
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.6002469f
cmp dword [ebp - 0x18], ebx
pop esi
je 0x6004f69d
push dword [ebp - 0x18]
call dword [0x600bdbd8]
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.60005fa7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.60005fa7
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret