Function at 0x465c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb441
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x138]
call fcn.00461c60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
push 0x105
mov dword [ebp - 0x18], 0x105
call fcn.00462700
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmove eax, dword [ebp - 0x130]
add eax, 4
push eax
push 0
push 0
push 0x1a
push 0
call esi
test eax, eax
je 0x465d34
push 1
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x134], 0
call fcn.00462700
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
push 0x105
cmove eax, dword [ebp - 0x130]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x18], 0x105
call fcn.00462700
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
cmove eax, dword [ebp - 0x130]
add eax, 4
push eax
push 1
push 0
push 0x1a
push 0
call esi
test eax, eax
je 0x465d34
lea ecx, [ebp - 0x138]
call fcn.00461e50
mov ecx, ebx
call fcn.00464450
push 0x55f354
push 0x558df8
push eax
call fcn.004623d0
add esp, 0xc
xor bl, bl
jmp 0x465f8c
lea ecx, [ebp - 0x138]
call fcn.00462190
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
push 0
cmove eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x260]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.00462ac0
cmp byte [ebp - 0x144], 0
lea eax, [ebp - 0x254]
lea esi, [edi + 0x254]
cmove eax, dword [ebp - 0x258]
mov ecx, esi
add eax, 4
push eax
call fcn.00461ed0
cmp byte [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x465dba
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
cmp eax, ecx
je 0x465dba
push eax
call fcn.004ac7ec
add esp, 4
mov al, byte [edi + 5]
test al, al
je 0x465f8a
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x465dd4
mov eax, dword [esi + 8]
add eax, 4
push 0x5c
push eax
call fcn.004a550b
add esp, 8
test eax, eax
jne 0x465df9
cmp byte [esi + 0x11c], al
lea eax, [esi + 0xc]
jne 0x465df4
mov eax, dword [esi + 8]
add eax, 4
jmp 0x465dfc
add eax, 2
push eax
lea ecx, [ebp - 0x260]
call fcn.00461db0
push str.Application_Data
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.00461fd0
test al, al
je 0x465f5e
cmp byte [ebp - 0x144], 0
lea eax, [ebp - 0x254]
push 2
cmove eax, dword [ebp - 0x258]
add eax, 4
push 0x5528b0
push eax
call fcn.004b3603
add esp, 0xc
test eax, eax
je 0x465f5e
push 0x10
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x25c], 0xf
call fcn.00462700
cmp byte [ebp - 0x144], 0
lea eax, [ebp - 0x254]
push 0x20
cmove eax, dword [ebp - 0x258]
add eax, 4
push str.AppDataRoaming
push eax
call fcn.004a5f60
add esp, 0xc
lea ecx, [ebp - 0x388]
call fcn.00462a60
lea eax, [ebp - 0x388]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00464230
cmp byte [ebp - 0x144], 0
lea eax, [ebp - 0x254]
push 0
cmove eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x4b0]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.00462ac0
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x388]
call fcn.00463090
cmp byte [ebp - 0x394], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x465f19
mov eax, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4a4]
cmp eax, ecx
je 0x465f19
push eax
call fcn.004ac7ec
add esp, 4
mov ecx, esi
call fcn.00463200
test al, al
je 0x465f32
lea eax, [ebp - 0x388]
mov ecx, esi
push eax
call fcn.00461ea0
cmp byte [ebp - 0x26c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x465f5e
mov eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x37c]
cmp eax, ecx
je 0x465f5e
push eax
call fcn.004ac7ec
add esp, 4
cmp byte [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x465f8a
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
cmp eax, ecx
je 0x465f8a
push eax
call fcn.004ac7ec
add esp, 4
mov bl, 1
cmp byte [ebp - 0x1c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x465fb5
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x465fb5
push eax
call fcn.004ac7ec
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 4