Function at 0x10010d10
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10042e16
push eax
mov eax, 0x83ec
mov dword fs:[0], esp
call fcn.10021550
mov eax, dword [0x10055424]
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xec]
mov dword [esp + 0x8400], edi
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x1f0]
lea eax, [esp + 0xec]
push edx
push edi
push 0x10051cf4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, dword [esp + 0x8408]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10010fe4
mov ecx, dword [esp + 0x840c]
push 0x10050508
push ecx
call fcn.1002093c
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x10010dbb
lea ecx, [esp + 0xc]
mov dword [esp + 0x8400], 0xffffffff
call fcn.1003bd1e
xor eax, eax
jmp 0x10010ffa
push ebp
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x8c]
push 0x64
lea edx, [esp + 0x90]
push 1
push edx
rep stosd dword es:[edi], eax
call fcn.100209ef
mov eax, dword [esi + 0xc]
push ebp
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.100209ef
mov edx, dword [esp + 0x8430]
add esp, 0x20
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
test edx, edx
rep stosd dword es:[edi], eax
je 0x10010e43
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x60
jle 0x10010e24
mov ecx, 0x60
jmp 0x10010e28
test ecx, ecx
jle 0x10010e43
mov esi, edx
mov edx, ecx
lea edi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x8408]
push ebx
push ebp
push 0x60
lea eax, [esp + 0x30]
push 1
push eax
call fcn.100209ef
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call fcn.1003ba7d
mov ebx, eax
mov eax, dword [esp + 0x28]
mov edi, ebx
push ebp
lea eax, [eax + eax*4]
mov dword [esp + 0x3c], ebx
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.100216c4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
push ebp
push eax
push 0x64
push ebx
call fcn.100209ef
mov eax, dword [esi + 4]
add esp, 0x28
test eax, eax
mov dword [esp + 0x18], eax
je 0x10010fb4
add ebx, 0x60
jmp 0x10010ec1
mov esi, dword [esp + 0x840c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.10011b90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x8408], 1
call fcn.1003be57
lea ecx, [esp + 0x20]
mov byte [esp + 0x8404], 0
call fcn.1003bd1e
mov eax, dword [esp + 0x10]
push eax
call fcn.1000a4d0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx - 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1f8]
push ecx
push edx
call fcn.10010ba0
add esp, 0xc
test eax, eax
je 0x10010fa1
lea eax, [esp + 0x1f4]
push 0x100501bc
push eax
call fcn.1002093c
mov esi, eax
add esp, 8
test esi, esi
je 0x10010fa1
test byte [esi + 0xc], 0x10
jne 0x10010f98
push esi
push 0x8000
lea ecx, [esp + 0x404]
push 1
push ecx
call fcn.100215ad
add esp, 0x10
test eax, eax
jle 0x10010f98
push ebp
push eax
lea edx, [esp + 0x404]
push 1
push edx
call fcn.100209ef
mov ecx, dword [ebx]
add esp, 0x10
add ecx, eax
mov dword [ebx], ecx
mov al, byte [esi + 0xc]
test al, 0x10
je 0x10010f5b
push esi
call fcn.1002069a
add esp, 4
mov eax, dword [esp + 0x18]
add ebx, 0x64
test eax, eax
jne 0x10010eba
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push 0
push eax
push ebp
call fcn.10021847
mov ecx, dword [esp + 0x20]
push ebp
push ecx
push 0x64
push ebx
call fcn.100209ef
push ebx
call fcn.1003baa6
push ebp
call fcn.1002069a
add esp, 0x24
mov edi, 1
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x8400], 0xffffffff
call fcn.1003bd1e
mov eax, edi
mov ecx, dword [esp + 0x83f8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x83f8
ret