Function at 0x4d33a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608a4d
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x698b9c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004d2c60
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x21c]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4d3444
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x230]
call fcn.004b45c0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x260]
call fcn.004158c0
push eax
push 0x613904
mov ecx, dword [ebp + 8]
call fcn.00405700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401cd0
lea ecx, [ebp - 0x21c]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4d34b5
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004b45c0
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
call fcn.004158c0
push eax
push 0x61390c
mov ecx, dword [ebp + 8]
call fcn.00405700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401cd0
call fcn.004c6fe0
movzx edx, al
test edx, edx
je 0x4d372d
lea ecx, [ebp - 0x224]
call fcn.004d4200
mov dword [ebp - 4], 2
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x65f7ac
lea ecx, [ebp - 0x224]
call fcn.004d4240
test eax, eax
jl 0x4d3568
cmp dword [ebp - 0x228], 0
je 0x4d3568
mov edx, dword [ebp - 0x228]
push edx
lea ecx, [ebp - 0x240]
call fcn.004b45c0
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x270]
call fcn.004158c0
push eax
push 0x613910
mov ecx, dword [ebp + 8]
call fcn.00405700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.00401cd0
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0x65f77c
lea ecx, [ebp - 0x224]
call fcn.004d4240
test eax, eax
jl 0x4d35f9
cmp dword [ebp - 0x228], 0
je 0x4d35f9
mov ecx, dword [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004b45c0
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x278]
call fcn.004158c0
push eax
push 0x613918
mov ecx, dword [ebp + 8]
call fcn.00405700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00401cd0
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0x65f78c
lea ecx, [ebp - 0x224]
call fcn.004d4240
test eax, eax
jl 0x4d368a
cmp dword [ebp - 0x228], 0
je 0x4d368a
mov eax, dword [ebp - 0x228]
push eax
lea ecx, [ebp - 0x250]
call fcn.004b45c0
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x280]
call fcn.004158c0
push eax
push 0x61391c
mov ecx, dword [ebp + 8]
call fcn.00405700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.00401cd0
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x65f79c
lea ecx, [ebp - 0x224]
call fcn.004d4240
test eax, eax
jl 0x4d371b
cmp dword [ebp - 0x228], 0
je 0x4d371b
mov edx, dword [ebp - 0x228]
push edx
lea ecx, [ebp - 0x258]
call fcn.004b45c0
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x288]
call fcn.004158c0
push eax
push 0x613924
mov ecx, dword [ebp + 8]
call fcn.00405700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.00401cd0
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.004b53e0
cmp dword [ebp - 0x10], 0
je 0x4d3744
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4d3749
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret