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

Disassembly:
mov eax, 0x10057754
call fcn.100567e0
sub esp, 0x48
cmp byte [ebp + 0x1c], 0
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ecx
je 0x10012c89
xor esi, esi
cmp byte [ebp + 0x28], 0
je 0x10012c76
mov dword [ebp + 0x1c], 0x1886
cmp dword [ebp + 0x1c], 0x1a76
jle 0x10012c18
mov edi, esi
mov ebx, esi
mov ecx, ebx
mov eax, edi
shl eax, cl
lea ecx, [ebp - 0x38]
cdq
push edx
push eax
call fcn.10001a99
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10012bf4
mov eax, dword [eax]
push eax
call fcn.1004027d
pop ecx
push esi
push 1
lea ecx, [ebp - 0x38]
call fcn.10006cfe
inc ebx
cmp ebx, 0x560e
jl 0x10012bd9
inc edi
cmp edi, 0x223d
jl 0x10012bd7
cmp dword [ebp + 0x1c], 0x171a
jge 0x10012c2c
push str.tympaqbqa_pwi_xrfuuzv_kvjq_jdmtiz_svmzvof_nszacjxpf_jifqishy
call fcn.1004027d
pop ecx
mov ebx, dword [ebp + 0x20]
or dword [ebp - 4], 0xffffffff
cmp dword [ebx], esi
jbe 0x10012df7
push 0x1a
pop edi
call fcn.10010e80
push 0x34
xor edx, edx
pop ecx
div ecx
mov eax, edx
cmp eax, edi
jge 0x10012c58
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
jmp 0x10012c61
cdq
idiv edi
mov eax, dword [ebp + 0xc]
movsx eax, byte [eax]
mov ecx, dword [ebp + 0x2c]
add edx, eax
push edx
call fcn.100135e6
inc esi
cmp esi, dword [ebx]
jb 0x10012c3e
jmp 0x10012df7
push esi
push 0x8c4
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10012df7
cmp byte [ebp + 0x18], 0
je 0x10012d2d
mov dword [ebp + 0x1c], 0x26af
xor esi, esi
cmp dword [ebp + 0x1c], 0x2797
jle 0x10012ce9
mov edi, esi
mov ebx, esi
mov eax, ebx
lea ecx, [ebp - 0x50]
xor eax, edi
cdq
push edx
push eax
call fcn.10001a99
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10012cc2
mov eax, dword [eax]
push eax
call fcn.1004027d
pop ecx
push esi
push 1
lea ecx, [ebp - 0x50]
call fcn.10006cfe
inc ebx
cmp ebx, 0x2309
jl 0x10012ca9
inc edi
cmp edi, 0x335e
jl 0x10012ca7
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], esi
jbe 0x10012d10
mov edi, dword [ebp + 0x14]
call fcn.10010e80
push 0xa
pop ecx
xor edx, edx
div ecx
mov ecx, dword [ebp + 0x34]
add dx, word [edi]
movzx eax, dx
push eax
call fcn.10013550
inc esi
cmp esi, dword [ebx]
jb 0x10012cf0
cmp dword [ebp + 0x1c], 0x256c
jge 0x10012df7
push str.vnf_luanor_hnqxvfa_fsf_orqu_mxyghqr_nmitvzh_wrmtdwy_ypxsbz_varhzkzdu_ciig_fbespam_abzolsro
call fcn.1004027d
pop ecx
jmp 0x10012df7
mov dword [ebp - 0x18], 0x240
cmp dword [ebp - 0x18], 0x39c
jle 0x10012d90
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, esi
mov dword [ebp + 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x1c], esi
mov ecx, ebx
mov esi, edi
mov edi, dword [ebp - 0x1c]
sar esi, cl
mov eax, esi
mov ecx, 0x10071338
xor eax, edi
cdq
push edx
push eax
call fcn.100060aa
inc edi
cmp edi, 0x1ffa
jl 0x10012d5b
mov edi, dword [ebp + 0x1c]
inc ebx
push 0
pop esi
cmp ebx, 0x48e3
jl 0x10012d4f
inc edi
mov dword [ebp + 0x1c], edi
cmp edi, 0x56ca
jl 0x10012d4d
mov dword [ebp - 4], 4
cmp dword [ebp - 0x18], 0x1e0
jge 0x10012daf
mov edx, str.jxmzvzfc_lkwcjvxe_hgkholjz
mov ecx, 0x10071338
call fcn.1000aac1
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
push 0x1a
pop edi
cmp dword [ecx], edi
jge 0x10012de1
mov eax, dword [ebp + 0x30]
movzx edx, word [eax]
add edx, dword [ecx]
jmp 0x10012dee
mov eax, dword [ecx]
cdq
idiv edi
mov eax, dword [ebp + 8]
movzx eax, word [eax]
add edx, eax
mov ecx, dword [ebp + 0x24]
push edx
call fcn.10013550
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret