Function at 0x10011020
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10042e2b
push eax
mov eax, 0x83ec
mov dword fs:[0], esp
call fcn.10021550
mov eax, dword [0x10055424]
push ebx
push ebp
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xe8]
xor ebx, ebx
push ecx
push 0x104
mov dword [esp + 0x8404], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x1ec]
lea eax, [esp + 0xe8]
push edx
push ebx
push 0x10051cf4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [esp + 0x8404]
push 0x100501bc
push ecx
call fcn.1002093c
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x10], ebp
jne 0x100110ce
lea ecx, [esp + 0xc]
mov dword [esp + 0x83fc], 0xffffffff
call fcn.1003bd1e
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x83ec]
mov dword fs:[0], ecx
add esp, 0x83f8
ret
push esi
push edi
push ebp
push 0x64
lea edx, [esp + 0x94]
push 1
push edx
call fcn.100215ad
push ebp
push 1
lea eax, [esp + 0x28]
push 4
push eax
mov dword [esp + 0x30], ebx
call fcn.100215ad
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x48]
push ebp
rep stosd dword es:[edi], eax
push 0x60
lea ecx, [esp + 0x50]
push 1
push ecx
call fcn.100215ad
add esp, 0x30
lea esi, [esp + 0x28]
mov eax, 0x100674d4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x10011141
test cl, cl
je 0x1001113d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x10011141
add eax, 2
add esi, 2
test cl, cl
jne 0x1001111d
xor eax, eax
jmp 0x10011146
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1001117a
mov eax, dword [esp + 0x8410]
mov esi, dword [esp + 0x8414]
push eax
mov ecx, esi
call fcn.1003bea7
push 0x10051270
mov ecx, esi
call fcn.1003c012
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.1003c012
jmp 0x1001118b
mov ecx, dword [esp + 0x8414]
push 0x100674d4
call fcn.1003bea7
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 2
push edx
call fcn.1003ba7d
mov esi, eax
mov eax, dword [esp + 0x14]
mov edi, esi
push ebp
lea eax, [eax + eax*4]
mov dword [esp + 0x2c], esi
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
mov eax, dword [esp + 0x18]
push eax
push 0x64
push esi
call fcn.100215ad
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], ebx
jbe 0x100112e6
lea ebp, [esi + 0x60]
mov ecx, dword [esp + 0x8410]
push ecx
lea ecx, [esp + 0x18]
call fcn.1003bea7
push 0x10051270
lea ecx, [esp + 0x18]
call fcn.1003c012
lea edx, [ebp - 0x60]
lea ecx, [esp + 0x14]
push edx
call fcn.1003c012
lea eax, [esp + 0x1f4]
push 0x10050508
push eax
call fcn.1002093c
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100112da
mov ecx, dword [esp + 0x18]
xor edi, edi
test byte [ecx + 0xc], 0x10
jne 0x100112a5
mov eax, dword [ebp]
lea edx, [edi + 0x8000]
cmp edx, eax
ja 0x1001125a
mov eax, 0x8000
jmp 0x1001125c
sub eax, edi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3fc]
push ecx
push eax
push 1
push edx
call fcn.100215ad
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x100112a1
push ebx
push esi
lea eax, [esp + 0x404]
push 1
push eax
call fcn.100209ef
mov eax, dword [ebp]
add edi, esi
add esp, 0x10
cmp edi, eax
jae 0x100112a1
mov ecx, dword [esp + 0x18]
test byte [ecx + 0xc], 0x10
je 0x10011246
mov esi, dword [esp + 0x24]
push ebx
call fcn.1002069a
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f8]
push edx
push eax
call fcn.10010c60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
inc eax
add ebp, 0x64
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x100111ef
jmp 0x100112e2
mov dword [esp + 0x20], 0
mov ebp, dword [esp + 0x18]
push esi
call fcn.1003baa6
push ebp
call fcn.1002069a
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x8404], 0xffffffff
call fcn.1003bd1e
mov ecx, dword [esp + 0x83fc]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x83f8
ret