Function at 0x100117b0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10042e6b
push eax
mov eax, 0x83ec
mov dword fs:[0], esp
call fcn.10021550
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8408]
push esi
call fcn.10011330
add esp, 4
test eax, eax
je 0x10011acc
mov eax, dword [0x10055424]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xec]
xor ebx, ebx
push ecx
push 0x104
mov dword [esp + 0x8408], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x1f0]
lea eax, [esp + 0xec]
push edx
push ebx
push 0x10051cf8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x100501bc
push esi
call fcn.1002093c
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x14], ebp
jne 0x1001185e
lea ecx, [esp + 0xc]
mov dword [esp + 0x8400], 0xffffffff
call fcn.1003bd1e
xor eax, eax
jmp 0x10011acc
push edi
push ebp
push 0x64
lea ecx, [esp + 0x94]
push 1
push ecx
call fcn.100215ad
push ebp
push 1
lea edx, [esp + 0x2c]
push 4
push edx
mov dword [esp + 0x34], 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 eax, [esp + 0x50]
push 1
push eax
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 0x100118d0
test cl, cl
je 0x100118cc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100118d0
add eax, 2
add esi, 2
test cl, cl
jne 0x100118ac
xor eax, eax
jmp 0x100118d5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10011909
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 0x1001191a
mov ecx, dword [esp + 0x8414]
push 0x100674d4
call fcn.1003bea7
mov eax, dword [esp + 0x14]
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 + 0x18]
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 + 0x1c]
push eax
push 0x64
push esi
call fcn.100215ad
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], ebx
jbe 0x10011aa4
lea ebp, [esi + 0x60]
mov ecx, dword [esp + 0x8410]
push ecx
lea ecx, [esp + 0x14]
call fcn.1003bea7
push 0x10051270
lea ecx, [esp + 0x14]
call fcn.1003c012
lea edx, [ebp - 0x60]
lea ecx, [esp + 0x10]
push edx
call fcn.1003c012
lea eax, [esp + 0x10]
push eax
call fcn.10009f00
lea ecx, [esp + 0x1f8]
push 0x10050508
push ecx
call fcn.1002093c
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10011a98
mov edx, dword [esp + 0x18]
xor edi, edi
test byte [edx + 0xc], 0x10
jne 0x10011a3e
mov eax, dword [ebp]
lea ecx, [edi + 0x8000]
cmp ecx, eax
ja 0x100119f3
mov eax, 0x8000
jmp 0x100119f5
sub eax, edi
mov edx, dword [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x404]
push 1
push eax
call fcn.100215ad
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x10011a3a
push ebx
push esi
lea ecx, [esp + 0x404]
push 1
push ecx
call fcn.100209ef
mov eax, dword [ebp]
add edi, esi
add esp, 0x10
cmp edi, eax
jae 0x10011a3a
mov edx, dword [esp + 0x18]
test byte [edx + 0xc], 0x10
je 0x100119df
mov esi, dword [esp + 0x24]
push ebx
call fcn.1002069a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1f8]
push eax
push ecx
call fcn.10010c60
add esp, 0xc
test eax, eax
je 0x10011a7e
mov ecx, dword [ebp - 8]
lea eax, [ebp - 8]
test ecx, ecx
jne 0x10011a6e
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10011a7e
mov edx, dword [esp + 0x10]
push 0
push eax
push edx
call fcn.10009c70
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
add ebp, 0x64
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x1001197e
jmp 0x10011aa0
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 + 0x10]
mov dword [esp + 0x8404], 0xffffffff
call fcn.1003bd1e
mov eax, dword [esp + 0x20]
pop edi
mov ecx, dword [esp + 0x83f8]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x83f8
ret