Function at 0x458a30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fe41
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x5c6150]
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.0044fd40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
push 0x105
mov dword [ebp - 0x18], 0x105
call fcn.00450b00
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 0x458b54
push 1
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x134], 0
call fcn.00450b00
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.00450b00
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 0x458b54
lea ecx, [ebp - 0x138]
call fcn.0044ff00
mov ecx, ebx
call fcn.00450c80
push 0x5a0a40
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
xor bl, bl
jmp 0x458dac
lea ecx, [ebp - 0x138]
call fcn.004502b0
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.00451610
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.0044ff70
cmp byte [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x458bda
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
cmp eax, ecx
je 0x458bda
push eax
call fcn.004e1b56
add esp, 4
mov al, byte [edi + 5]
test al, al
je 0x458daa
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x458bf4
mov eax, dword [esi + 8]
add eax, 4
push 0x5c
push eax
call fcn.004d9879
add esp, 8
test eax, eax
jne 0x458c19
cmp byte [esi + 0x11c], al
lea eax, [esi + 0xc]
jne 0x458c14
mov eax, dword [esi + 8]
add eax, 4
jmp 0x458c1c
add eax, 2
push eax
lea ecx, [ebp - 0x260]
call fcn.0044fe90
push str.Application_Data
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.00450070
test al, al
je 0x458d7e
cmp byte [ebp - 0x144], 0
lea eax, [ebp - 0x254]
push 2
cmove eax, dword [ebp - 0x258]
add eax, 4
push 0x597154
push eax
call fcn.004e6f83
add esp, 0xc
test eax, eax
je 0x458d7e
push 0x10
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x25c], 0xf
call fcn.00450b00
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.004d9a60
add esp, 0xc
lea ecx, [ebp - 0x388]
call fcn.004515b0
lea eax, [ebp - 0x388]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00453190
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.00451610
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x388]
call fcn.00451c90
cmp byte [ebp - 0x394], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x458d39
mov eax, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4a4]
cmp eax, ecx
je 0x458d39
push eax
call fcn.004e1b56
add esp, 4
mov ecx, esi
call fcn.00451e40
test al, al
je 0x458d52
lea eax, [ebp - 0x388]
mov ecx, esi
push eax
call fcn.00451cf0
cmp byte [ebp - 0x26c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x458d7e
mov eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x37c]
cmp eax, ecx
je 0x458d7e
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x458daa
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
cmp eax, ecx
je 0x458daa
push eax
call fcn.004e1b56
add esp, 4
mov bl, 1
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x138], vtable.t_str.0
jne 0x458dd5
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x458dd5
push eax
call fcn.004e1b56
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.004d6cfd
mov esp, ebp
pop ebp
ret 4