Function at 0x1000a709
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ebx
push ebp
lea ecx, [eax - 0x1c62]
add edx, 0xfffffedb
lea ebx, [eax + 0x205]
mov dword [esp + 0x24], ecx
lea ecx, [eax + 0xf36]
mov dword [esp + 8], edx
lea ebp, [eax + 0x79]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x1c]
add eax, 0xffffedf6
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x28], eax
xor edi, 0x3845
add eax, 0xdba
cmp ebx, eax
je 0x1000a815
mov eax, dword [0x100fdcac]
add ebx, 0x6e5
mov dword [esi + 0xa0], eax
xor ebp, 0x38fc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x60]
add ecx, 0xfff4c06e
add eax, ecx
mov ecx, dword [esp + 0x2c]
add dword [esi + 0xcc], eax
mov eax, dword [esp + 0x2c]
xor eax, 0x2c27
push esi
push eax
lea eax, [edx + 0x575]
push eax
mov eax, dword [esp + 0x34]
add eax, 0x5ba
push eax
lea eax, [ecx + 0x243e]
push eax
lea eax, [ecx + 0x315c]
push eax
lea eax, [ebx - 0x96]
push eax
call fcn.1000a48a
push eax
mov eax, ebp
xor eax, 0x157b
push eax
push esi
mov eax, ebp
xor eax, 0x3a40
push eax
lea eax, [edi - 0x7c5]
xor edi, 6
push eax
push edi
call sym.phy968jx3.dll_PyuKE60kp4
mov ecx, dword [esi + 0x7c]
add esp, 0x34
mov edi, eax
mov edx, dword [esp + 0x10]
cmp ecx, dword [esi + 0xe0]
jb 0x1000a80f
mov dword [esi + 0x88], section..data
jmp 0x1000a815
mov eax, dword [esi + 0x50]
add dword [esi + 0x6c], eax
mov eax, dword [esp + 0x28]
add eax, 0xcb0
cmp edx, eax
jge 0x1000a96d
add edi, 0x1d
xor edi, 0x385c
xor ebp, ebp
mov eax, dword [esi + 0xe0]
xor eax, 0x12
imul eax, dword [esi + 0x9c]
mov dword [esi + 0x9c], eax
mov eax, dword [0x100fdc7c]
add eax, 0xff2862dc
xor dword [0x100fdc84], eax
mov eax, dword [esi + 0x84]
sub eax, 0x1fb115
or dword [esi + 0xb0], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [0x100e4da4]
mov ebx, dword [eax + ebp]
add ebp, 4
imul ebx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x8c]
mov eax, dword [esi + 0x58]
mov edx, ebx
shr edx, 8
mov byte [ecx + eax], dl
inc dword [esi + 0x58]
mov eax, dword [0x100e4da4]
mov ecx, dword [eax + 0x8c]
mov eax, dword [0x100fdc58]
mov byte [eax + ecx], bl
inc dword [0x100fdc58]
mov eax, dword [0x100e4da4]
mov eax, dword [eax + 0xc0]
sub eax, dword [esi + 0x50]
sub eax, 0x3d4c6f2e
add dword [esi + 0x84], eax
mov edx, dword [0x100e4da4]
mov eax, dword [0x100fdcc0]
add eax, 0xc29961cd
add eax, dword [edx + 0xf4]
imul eax, dword [edx]
mov dword [edx], eax
mov eax, 0x1c6671
mov ecx, dword [esi + 0x84]
xor ecx, dword [0x100fdcd8]
mov edx, dword [0x100e4da4]
sub eax, ecx
add dword [edx + 0xd8], eax
mov ecx, dword [0x100e4da4]
mov eax, dword [0x100fdcc0]
xor eax, 0x3d61eb30
add dword [ecx + 0x50], eax
cmp ebp, 0x59f40
jl 0x1000a831
mov eax, dword [0x100fdcc0]
cmp eax, dword [0x100fdc84]
jbe 0x1000a935
mov eax, dword [esi + 0x7c]
sub eax, 0xd78bdd
mov dword [esi + 0x3c], eax
mov eax, dword [0x100e4da4]
mov ecx, dword [0x100fdc28]
cmp dword [eax], ecx
ja 0x1000a958
mov eax, 0x4aae6
sub eax, dword [esi + 0xf4]
add dword [esi + 0x3c], eax
mov ecx, dword [0x100fdc28]
xor ecx, dword [0x100fdc34]
mov eax, 0x1907e5
sub eax, ecx
add dword [esi + 0x3c], eax
jmp 0x1000aa3d
mov eax, dword [esi + 0xdc]
add eax, edi
xor eax, ebx
cmp edi, eax
jae 0x1000aa3d
mov eax, edi
sub eax, dword [esi + 0xd0]
add eax, 0x254c
cmp edi, eax
je 0x1000aa27
mov ecx, dword [0x100e4da4]
mov ebx, dword [esp + 0x24]
imul eax, edx, 0x24b6
add eax, dword [esi + 0x84]
xor dword [ecx + 0x54], eax
mov eax, dword [esi + 0x7c]
imul eax, dword [0x100fdc48]
imul eax, edi
mov dword [0x100fdc48], eax
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0xe0]
xor eax, ebx
or eax, dword [esi + 0xd8]
or edi, eax
mov eax, ebx
imul ecx, edi
or eax, 0x2421
sub ecx, dword [0x100fdc34]
imul ecx, edx
xor ecx, eax
imul eax, ebx, 0x1e67
xor dword [esi + 0xf0], ecx
or eax, 0x315c
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0x54]
sub eax, dword [0x100fdc0c]
and eax, 0x34c0
xor dword [0x100fdcdc], eax
mov eax, dword [0x100fdc2c]
sub eax, edi
imul eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1000aa3d
mov eax, dword [esi + 0x34]
imul eax, ebp
imul ebx, ebp
sub eax, 0x2168
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [edi + 0x185e]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret