Function at 0x498300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc71b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
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 - 0x460]
mov esi, dword [ebp + 0xc]
call fcn.00461c60
push 1
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x45c], 0
call fcn.00462700
cmp byte [ebp - 0x344], 0
lea eax, [ebp - 0x454]
cmove eax, dword [ebp - 0x458]
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.004a64e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4984a6
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x33c]
call fcn.00462ac0
cmp byte [ebp - 0x220], 0
lea eax, [ebp - 0x330]
lea ecx, [ebp - 0x460]
cmove eax, dword [ebp - 0x334]
add eax, 4
push eax
call fcn.00461ed0
cmp byte [ebp - 0x220], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x498419
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x330]
cmp eax, ecx
je 0x498419
push eax
call fcn.004ac7ec
add esp, 4
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x498428
mov eax, dword [esi + 8]
add eax, 4
push 0x5c
push eax
call fcn.004a550b
add esp, 8
test eax, eax
jne 0x49844d
cmp byte [esi + 0x11c], al
lea eax, [esi + 0xc]
jne 0x498448
mov eax, dword [esi + 8]
add eax, 4
jmp 0x498450
add eax, 2
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x33c]
call fcn.00462ac0
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x460]
call fcn.00463010
cmp byte [ebp - 0x220], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4984c4
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x330]
cmp eax, ecx
je 0x4984c4
push eax
call fcn.004ac7ec
add esp, 4
jmp 0x4984c4
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4984b5
mov eax, dword [esi + 8]
add eax, 4
lea ecx, [ebp - 0x460]
push eax
call fcn.00461ed0
push 0
push 0
push 0
push 0
push 0
push 0x561198
lea ecx, [ebp - 0x33c]
call fcn.00462ac0
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x460]
call fcn.00463010
cmp byte [ebp - 0x220], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x49851c
mov eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x330]
cmp eax, ecx
je 0x49851c
push eax
call fcn.004ac7ec
add esp, 4
lea eax, [ebp - 0x460]
mov ecx, edi
push eax
push ebx
call fcn.00497be0
test al, al
jne 0x49856c
lea edi, [esi + 0xc]
cmp byte [esi + 0x11c], al
jne 0x49853d
mov edi, dword [esi + 8]
mov ecx, ebx
call fcn.00464450
push 0x5611a4
mov esi, eax
push 0x558df8
push esi
call fcn.004623d0
lea ecx, [edi + 4]
push ecx
push 0x558df8
push esi
call fcn.004623d0
add esp, 0x18
xor bl, bl
jmp 0x498588
push 0
push esi
push ebx
lea ecx, [ebp - 0x460]
call fcn.00463f20
test al, al
jne 0x498586
mov ecx, ebx
call fcn.004644a0
mov bl, 1
cmp byte [ebp - 0x344], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4985b4
mov eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x454]
cmp eax, ecx
je 0x4985b4
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 8