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

Disassembly:
mov eax, 0x100611a3
call fcn.10060138
sub esp, 0x3c
push ebx
push esi
mov dword [ebp - 0x28], 0x9e3
cmp dword [ebp - 0x28], 0xa3b
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], edx
jle 0x1001e45d
call dword [sym.imp.KERNEL32.dll_GetACP]
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov eax, edi
mov dword [ebp - 0x20], 0x3d5
mov dword [ebp - 0x1c], eax
and eax, esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], eax
mov esi, eax
mov eax, esi
mov ecx, 0x1007cb98
xor eax, ebx
cdq
push edx
push eax
call fcn.10004616
inc ebx
cmp ebx, 0x3565
jl 0x1001e412
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
dec eax
dec dword [ebp - 0x20]
push 0
mov dword [ebp - 0x1c], eax
pop ebx
jne 0x1001e408
inc edi
cmp edi, 0x487d
jl 0x1001e3fc
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x2d1f
jl 0x1001e3fa
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1001e45f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x28], 0x96f
jge 0x1001e47a
mov edx, str.hkuew_cuufab_kcsshghvq_ughgws_gxlb_tlp_ciagmjr_ulgbtxq_nhvsbeh_jswqlvv_gumhsfdn_ara
mov ecx, 0x1007cb98
call fcn.10006a66
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xc], 0
je 0x1001e4c5
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x1001e689
push ecx
push 1
sub esp, 0xc
call fcn.1001e39f
add esp, 0x14
jmp 0x1001e689
mov dword [ebp - 0x34], 0x17f1
cmp dword [ebp - 0x34], 0x523
jge 0x1001e5f0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
push str._ld__ld
call fcn.100480d2
add esp, 0xc
lea ecx, [ebp - 0x48]
push dword [ebp - 0x14]
call fcn.1000c4eb
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], 0
jle 0x1001e521
mov esi, dword [ebp - 0x48]
mov edi, ebx
push esi
push 0x10069198
call fcn.100480d2
inc edi
add esi, 4
pop ecx
pop ecx
cmp edi, dword [ebp - 0x14]
jl 0x1001e50b
mov esi, dword [ebp - 0x44]
mov eax, esi
mov edi, dword [ebp - 0x48]
mov edx, esi
sub eax, edi
mov byte [ebp - 0x38], bl
push dword [ebp - 0x38]
sar eax, 2
mov ecx, edi
push eax
call fcn.10020222
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
dec ecx
jmp 0x1001e54e
mov eax, dword [edi + ecx*4 - 4]
sub dword [edi + ecx*4], eax
dec ecx
cmp ecx, 1
jge 0x1001e546
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
cmp eax, esi
jae 0x1001e58b
cmp edi, eax
ja 0x1001e58b
sub eax, edi
sar eax, 2
mov dword [ebp - 0x34], eax
cmp esi, dword [ebp - 0x40]
jne 0x1001e580
push ecx
lea ecx, [ebp - 0x48]
call fcn.1000c99b
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
test esi, esi
je 0x1001e5a5
mov eax, dword [edi + eax*4]
mov dword [esi], eax
jmp 0x1001e5a5
cmp esi, dword [ebp - 0x40]
jne 0x1001e59f
push ecx
lea ecx, [ebp - 0x48]
call fcn.1000c99b
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
test esi, esi
je 0x1001e5a5
mov dword [esi], ebx
add esi, 4
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x44], esi
mov esi, ebx
jle 0x1001e5e8
push dword [edi + esi*4]
push str._ld_n
call fcn.10047e1c
xor eax, eax
cmp esi, dword [ebp - 0x14]
pop ecx
setl al
pop ecx
add esi, eax
jmp 0x1001e5d7
cmp dword [edi + esi*4], ebx
jne 0x1001e5dc
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x1001e5d1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x2c]
jl 0x1001e5b6
lea ecx, [ebp - 0x48]
call fcn.1000489d
mov esi, dword [ebp + 0x20]
xor ecx, ecx
mov edi, dword [ebp - 0x3c]
mov eax, dword [esi]
mov eax, dword [esi]
cmp eax, 0xe8fe
mov eax, dword [edi]
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp + 0x10]
setl cl
sub ecx, 0xfffc
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [eax], ecx
mov eax, dword [eax]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [ecx]
mov eax, dword [esi]
cmp eax, ecx
mov eax, dword [edi]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [edi]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [edi]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esi]
setl cl
sub ecx, eax
mov eax, dword [esi]
add eax, ecx
jne 0x1001e676
mov eax, dword [ebp + 0x1c]
cmp dword [eax], ebx
je 0x1001e679
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 0x18]
xor ecx, ecx
cmp ebx, 0x2c5d177c
setne cl
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret