Function at 0x3005bc4b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x30108fa2
call fcn.300088d4
sub esp, 0xb10
push esi
xor esi, esi
push edi
push esi
mov edi, 0x3002e198
push 1
push 0x30150d80
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc8], edi
call fcn.300216b5
lea ecx, [ebp - 0x71c]
call fcn.3001fa3d
lea ecx, [ebp - 0x500]
call fcn.3001fa3d
mov ecx, dword [ebp + 0xc]
call fcn.30008f21
push eax
lea eax, [ebp - 0x91c]
push eax
call fcn.30063933
cmp dword [ebp + 0x10], esi
pop ecx
pop ecx
jne 0x3005be44
lea eax, [ebp - 0xb1c]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x91c]
lea ecx, [ebp - 0xc8]
push eax
push 1
call fcn.30008f21
push eax
lea eax, [ebp - 0xb1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push esi
lea eax, [ebp - 0x91c]
push 1
push eax
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2e0], esi
mov dword [ebp - 0x2dc], esi
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 0x2e4], 0x3001fa60
call fcn.300216b5
lea eax, [ebp - 0x2e4]
push esi
push eax
lea eax, [ebp - 0x500]
push eax
call fcn.3005c651
add esp, 0xc
mov eax, dword [ebp - 0x4f8]
cmp eax, esi
jne 0x3005be57
xor eax, eax
mov ecx, dword [0x3015132c]
cmp ax, word [ecx]
je 0x3005bd73
mov edx, dword [0x30151334]
cmp ax, word [edx]
je 0x3005bd73
push ecx
lea ecx, [ebp - 0x500]
call fcn.30016654
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x3005bd7f
cmp dword [eax + 8], esi
jne 0x3005bd85
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x71c]
call fcn.3001fa80
cmp dword [ebp + 0x1c], esi
jne 0x3005be6f
push esi
push 1
push str..TMP
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x74], edi
call fcn.300216b5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.3005c539
pop ecx
lea edi, [ebp - 0x10]
pop ecx
cmp dword [ebp + 0x18], esi
je 0x3005be77
lea ecx, [ebp - 0x74]
call fcn.3002e174
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.3005c4bf
pop ecx
pop ecx
lea ecx, [ebp - 0x2e4]
call fcn.3001fa3d
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.3005ba80
mov ecx, dword [ebp + 0xc]
add esp, 0x10
lea eax, [ebp - 0x2e4]
push eax
call fcn.3001fdc8
mov eax, dword [ebp + 8]
push eax
push 0x1000
push dword [ebp + 0xc]
mov dword [eax], esi
call fcn.3001765e
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret
push dword [ebp + 0x10]
lea ecx, [ebp - 0x500]
call fcn.3001fa80
jmp 0x3005bd41
dec eax
lea ecx, [ebp - 0x500]
push eax
mov eax, dword [ebp - 0x500]
call dword [eax]
mov ax, word [eax]
jmp 0x3005bd51
mov edi, dword [ebp + 0x1c]
jmp 0x3005bdc8
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.300164b9
add esp, 0xc
push eax
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 4], esi
call fcn.3001fba4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.3001f90d
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2e4]
push eax
call fcn.3001fdc8
push esi
push edi
push dword [ebp + 0xc]
call fcn.3005c37b
add esp, 0xc
jmp 0x3005be20