Function at 0x4fb570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eee00
mov eax, dword fs:[0]
push eax
sub esp, 0x69c
mov eax, dword [0x7ce4e4]
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 - 0x33c]
mov esi, dword [ebp + 0xc]
call fcn.00499a50
push 1
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x338], 0
call fcn.0049a590
cmp byte [ebp - 0x220], 0
lea eax, [ebp - 0x330]
cmove eax, dword [ebp - 0x334]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ecx
push eax
call fcn.005c0be0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4fb705
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x460]
call fcn.0049a8e0
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x33c]
call fcn.00499d10
cmp byte [ebp - 0x344], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4fb678
mov eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x454]
cmp eax, ecx
je 0x4fb678
push eax
call fcn.005cff1c
add esp, 4
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4fb687
mov eax, dword [esi + 8]
add eax, 4
push 0x5c
push eax
call fcn.005c02be
add esp, 8
test eax, eax
jne 0x4fb6ac
cmp byte [esi + 0x11c], al
lea eax, [esi + 0xc]
jne 0x4fb6a7
mov eax, dword [esi + 8]
add eax, 4
jmp 0x4fb6af
add eax, 2
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x584]
call fcn.0049a8e0
lea eax, [ebp - 0x584]
push eax
lea ecx, [ebp - 0x33c]
call fcn.0049af30
cmp byte [ebp - 0x468], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4fb711
mov eax, dword [ebp - 0x57c]
lea ecx, [ebp - 0x578]
cmp eax, ecx
je 0x4fb711
push eax
call fcn.005cff1c
add esp, 4
jmp 0x4fb711
push esi
lea ecx, [ebp - 0x33c]
call fcn.00499d10
push 0
push 0
push 0
push 0
push 0
push str..sbak
lea ecx, [ebp - 0x6a8]
call fcn.0049a8e0
lea eax, [ebp - 0x6a8]
push eax
lea ecx, [ebp - 0x33c]
call fcn.0049af30
cmp byte [ebp - 0x58c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4fb769
mov eax, dword [ebp - 0x6a0]
lea ecx, [ebp - 0x69c]
cmp eax, ecx
je 0x4fb769
push eax
call fcn.005cff1c
add esp, 4
lea eax, [ebp - 0x33c]
mov ecx, edi
push eax
push ebx
call fcn.004fa970
test al, al
jne 0x4fb7b9
lea edi, [esi + 0xc]
cmp byte [esi + 0x11c], al
jne 0x4fb78a
mov edi, dword [esi + 8]
mov ecx, ebx
call fcn.0049c7f0
push 0x79a6c8
mov esi, eax
push 0x791e68
push esi
call fcn.0049a160
lea ecx, [edi + 4]
push ecx
push 0x791e68
push esi
call fcn.0049a160
add esp, 0x18
xor bl, bl
jmp 0x4fb7d5
push 0
push esi
push ebx
lea ecx, [ebp - 0x33c]
call fcn.0049bf00
test al, al
jne 0x4fb7d3
mov ecx, ebx
call fcn.0049c840
mov bl, 1
cmp byte [ebp - 0x220], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4fb801
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x330]
cmp eax, ecx
je 0x4fb801
push eax
call fcn.005cff1c
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.005be209
mov esp, ebp
pop ebp
ret 8