Function at 0x1003c460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003c480
push 0
push 0x10a8
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1003c66e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0x2cb3a3fc
mov dword [ebp - 0x38], 1
mov dword [ebp - 8], 0xffffffe5
jmp 0x1003c4bd
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 7
je 0x1003c4e1
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0x2ca2
push 0x530c
push 0
call fcn.1003c6f3
add esp, 0x10
jmp 0x1003c4b6
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jg 0x1003c4f7
xor eax, eax
inc eax
je 0x1003c4f7
mov dword [ebp - 0x1c], 1
jmp 0x1003c4fb
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jl 0x1003c50c
mov dword [ebp - 0x20], 1
jmp 0x1003c510
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jg 0x1003c52a
cmp dword [ebp - 0xc], 0
jne 0x1003c52a
and dword [ebp - 0x24], 0
jmp 0x1003c531
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x24], eax
jle 0x1003c542
mov dword [ebp - 0x28], 1
jmp 0x1003c546
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003c59a
mov dword [ebp - 0x2c], 0xafbd13d
mov dword [ebp - 0x3c], 0x7eb8e136
cmp dword [ebp - 0x2c], 0
jne 0x1003c572
cmp dword [ebp - 0x2c], 0
jne 0x1003c572
and dword [ebp - 0x30], 0
jmp 0x1003c579
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1003c598
push 0
push 0x10a8
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1003c5b7
mov dword [ebp - 0x40], 0x58c458a9
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1003e62a
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
jmp 0x1003c5d0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1003c5e3
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x4c], 0x1c08901f
jmp 0x1003c5c9
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 3]
test eax, eax
je 0x1003c603
push 0x22b8
push 0
push 0x2e3b
call fcn.1003b918
add esp, 0xc
mov byte [ebp - 4], 0
push 0x2a1e
push 0
lea eax, [ebp - 4]
push eax
push 0x6c5c
call fcn.1003c9e7
add esp, 0x10
cmp dword [ebp - 0x14], 0
jle 0x1003c66e
push 4
push 0x1000
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax + 0xc]
push ecx
push 0x83b6
push 0x8819
call fcn.1003a863
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
push dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x18]
push dword [eax]
call fcn.1003a9c2
add esp, 0xc
mov esp, ebp
pop ebp
ret