Function at 0x10013867
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100621ba
call fcn.10061438
sub esp, 0x148
mov byte [ebp - 0x4c], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x10014178
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], 0xfffffff7
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
call fcn.10012f96
xor ebx, ebx
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x10013976
mov dword [ebp - 0x20], 0x1eb7
cmp dword [ebp - 0x20], 0x1fbf
jle 0x10013945
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov eax, esi
mov dword [ebp - 0x1c], 0x635b
mov dword [ebp - 0x2c], eax
mov edi, ebx
mov dword [ebp - 0x38], ebx
and eax, edi
mov esi, ebx
mov dword [ebp - 0x28], eax
mov edi, eax
mov eax, edi
lea ecx, [ebp - 0x124]
or eax, esi
cdq
push edx
push eax
call fcn.10001a7f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100138fd
mov eax, dword [eax]
push eax
call fcn.10048643
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x124]
call fcn.1000f099
inc esi
cmp esi, 0x7f76
jl 0x100138e1
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
inc edi
mov dword [ebp - 0x38], edi
cmp edi, 0x781b
jl 0x100138d8
dec eax
dec dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
jne 0x100138d3
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x3958
jl 0x100138c7
push ecx
push 0xcc1
push 0x4504
mov edx, 0x42ae
mov ecx, 0x5414
call fcn.10012ea0
add esp, 0xc
cmp dword [ebp - 0x20], 0x1e39
jge 0x10013976
push str.pgrmhoxi_hhrvm_apdqq_hrfqggnx_ybyffbh_prkerolb_rzeecjjzq_xxho_jfpdl_yvht_uwim_zhxqb_povtd
call fcn.10048643
pop ecx
xor eax, eax
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xbc], ebx
mov word [ebp - 0xcc], ax
push ebx
lea eax, [ebp + 0x14]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0xcc]
mov edx, 0x763
push eax
push 0x15c0
call fcn.100126d8
add esp, 0x10
mov dword [ebp - 0x40], 0xe8cff0ea
lea ecx, [ebp - 0xe4]
push 2
call fcn.1000e8c0
push ebx
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 3
push eax
push 0x3c15
lea eax, [ebp - 0xe4]
mov edx, 0x2848
push eax
push 1
push 0x78d3
lea ecx, [edx + 0x6b]
call fcn.10014512
add esp, 0x18
mov dword [ebp - 0x40], 0xf
cmp dword [ebp - 0x40], 0xffffffee
jl 0x10013beb
mov dword [ebp - 0x14], ebx
jmp 0x10013a1e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x100], 0x256a9ef7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10013a0d
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10013a41
push ecx
push 1
mov edx, 0x521
mov ecx, 0x6bd0
call fcn.100129e8
pop ecx
pop ecx
mov dword [ebp - 0x20], 0x54b8
mov dword [ebp - 0x28], 0x165a
cmp dword [ebp - 0x28], 0x12de
jge 0x10013b70
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
push str._ld__ld
call fcn.1004835b
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x74]
add esp, 0xc
mov dword [ebp - 0x74], ebx
inc eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.1000f649
xor esi, esi
mov byte [ebp - 4], 4
inc esi
cmp dword [ebp - 0x3c], esi
jl 0x10013abd
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x7c]
push eax
push 0x1006b48c
call fcn.1004835b
mov eax, dword [edi + esi*4 - 4]
add eax, dword [ebp - 0x7c]
mov dword [edi + esi*4], eax
inc esi
pop ecx
pop ecx
cmp esi, dword [ebp - 0x3c]
jle 0x10013a9d
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x84]
push ecx
inc eax
mov dword [ebp - 0x84], ebx
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.1000f649
mov edi, dword [ebp - 0x64]
xor esi, esi
inc esi
cmp dword [ebp - 0x44], esi
jl 0x10013b0d
lea eax, [ebp - 0x6c]
push eax
push 0x1006b48c
call fcn.1004835b
mov eax, dword [edi + esi*4 - 4]
add eax, dword [ebp - 0x6c]
mov dword [edi + esi*4], eax
inc esi
pop ecx
pop ecx
cmp esi, dword [ebp - 0x44]
jle 0x10013aeb
xor ebx, ebx
xor ecx, ecx
xor eax, eax
inc ecx
mov edx, ebx
inc eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x3c], ecx
jl 0x10013b4f
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x44]
cmp ecx, ebx
jg 0x10013b4d
mov edx, dword [edi + ecx*4]
cmp dword [esi + eax*4], edx
jne 0x10013b3a
mov edx, dword [ebp - 0x14]
inc eax
inc ecx
inc edx
mov dword [ebp - 0x14], edx
jmp 0x10013b48
jge 0x10013b3f
inc eax
jmp 0x10013b45
cmp dword [esi + eax*4], edx
jle 0x10013b45
inc ecx
mov edx, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jle 0x10013b23
xor ebx, ebx
push edx
push str._ld_n
call fcn.10048643
pop ecx
pop ecx
lea ecx, [ebp - 0x64]
call fcn.1000e943
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.1000e943
cmp dword [ebp - 0x20], 0x5847
jle 0x10013bc0
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [ebp - 0x13c]
and eax, esi
cdq
push edx
push eax
call fcn.10001a7f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10013b99
mov eax, dword [eax]
push eax
call fcn.10048643
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x13c]
call fcn.1000f099
inc edi
cmp edi, 0x6566
jl 0x10013b7d
inc esi
cmp esi, 0x764b
jl 0x10013b7b
cmp dword [ebp - 0x100], ebx
jne 0x10013beb
cmp dword [ebp - 0x20], 0x5220
jge 0x10013bdc
push str.nllzlw_jzno_srml_mqaqmbp_eyzfil
call fcn.10048643
pop ecx
mov dword [ebp - 4], 3
dec dword [ebp - 0x40]
jmp 0x100139fe
mov dword [ebp - 0x20], 0x5ccc
cmp dword [ebp - 0x20], 0x6055
jle 0x10013c3c
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x28], ebx
mov eax, ebx
mov ecx, 0x1007fdb8
xor eax, esi
xor eax, edi
cdq
push edx
push eax
call fcn.1000e5de
inc ebx
cmp ebx, 0x26f
jl 0x10013c0b
inc esi
push 0
pop ebx
cmp esi, 0x4568
jl 0x10013c08
inc edi
cmp edi, 0x46b7
jl 0x10013c06
push ecx
push 0x6986
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xe4]
call fcn.10012856
pop ecx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x20], 0x5b73
pop ecx
jge 0x10013c92
mov edx, str.ixxius_waatw_czq
mov ecx, 0x1007fdb8
call fcn.100113ff
jmp 0x10013c92
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.1000e943
mov eax, dword [0x101458d0]
test al, 1
jne 0x10013cd2
or eax, 1
mov dword [0x101458d0], eax
push 0x11a61
mov byte [ebp - 4], 9
call fcn.1000e440
pop ecx
mov word [0x101458cc], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0xfffffff8
mov dword [ebp - 0x14], ebx
jmp 0x10013cec
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x78], 0xf54c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x10013cde
mov dword [ebp - 0x1c], 5
jmp 0x10013d5a
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x14], ebx
jmp 0x10013d52
push 2
lea ecx, [ebp - 0xd8]
call fcn.1000e8c0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xd8]
call fcn.1001289f
mov eax, dword [ebp - 0x14]
pop ecx
push 4
pop ecx
mov eax, dword [ebp + eax*4 - 0x78]
sub ecx, eax
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 2
mov dword [eax + 4], ecx
lea ecx, [ebp - 0xd8]
call fcn.1000e943
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x10013d07
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffeb
je 0x10013cfb
mov eax, dword [0x101458d0]
test al, 2
jne 0x10013d8a
or eax, 2
mov dword [0x101458d0], eax
push 0xb9cb
mov byte [ebp - 4], 0xb
call fcn.1000e440
pop ecx
mov word [0x101458dc], ax
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x34]
mov esi, dword [esi]
test esi, esi
je 0x10013e69
call fcn.1001261d
push 0x34
pop ecx
xor edx, edx
div ecx
push 2
mov dword [ebp - 0x80], edx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x34], 0xd3f7bf48
mov dword [ebp - 0x34], 0x747b
mov dword [ebp - 0x34], 1
call fcn.1000e8c0
push ecx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xc
push 1
push eax
lea ecx, [ebp - 0xf4]
call fcn.10012758
mov eax, dword [ebp - 0x90]
xor dl, dl
push 0xac7
mov ecx, 0x76b
mov dword [eax], 1
lea eax, [ebp - 0x90]
push eax
call fcn.10012d08
add esp, 0x14
mov byte [ebp - 0x2d], bl
lea edx, [ebp - 0x2d]
call fcn.10012cc2
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.1000e943
push ebx
lea eax, [ebp - 0xcc]
mov edx, 0x5bd
push eax
lea eax, [ebp - 0x80]
mov ecx, 0xcc6
push eax
push 0x4bdb
push 0x2c59
push 0x660e
push 1
push 0x2c5a
push 0x101458cc
push 0x101458dc
push 1
call fcn.100146c2
add esp, 0x2c
dec esi
jne 0x10013d97
mov dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x9c]
push 2
call fcn.1000e8c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x28], ebx
push 2
call fcn.1000e8c0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xe
push 0xef8
push eax
lea ecx, [ebp - 0x68]
call fcn.10012e7c
pop ecx
pop ecx
push 0x732e
push ecx
push 1
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0x68]
call fcn.10012673
add esp, 0xc
mov dword [ebp - 0x14], 0xffffffe2
jmp 0x10013ee2
sub esp, 0xc
mov dl, 1
mov ecx, 0x619f
call fcn.10014204
add esp, 0xc
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe4
jg 0x10013ecd
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 1
jg 0x10014136
push 4
lea ecx, [ebp - 0xa8]
call fcn.1000e8c0
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0xfffffff8
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x20], 0x1c6f
cmp dword [ebp - 0x20], 0x201f
jle 0x10013fb5
push ebx
push ebx
push 0x15bd
push 0x10a2
push ebx
push 0xdff
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
mov edx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
mov esi, ebx
mov edi, ebx
add eax, esi
mov ecx, edi
shl eax, cl
lea ecx, [ebp - 0x154]
xor eax, edx
cdq
push edx
push eax
call fcn.10001a7f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10013f71
mov eax, dword [eax]
push eax
call fcn.10048643
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x154]
call fcn.1000f099
mov eax, dword [ebp - 0x2c]
inc edi
mov edx, dword [ebp - 0x1c]
cmp edi, 0x828
jl 0x10013f51
inc esi
cmp esi, 0x6bf1
jl 0x10013f4f
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x258e
jl 0x10013f4d
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 0x632d
jl 0x10013f48
cmp dword [ebp - 0x20], 0x19fd
jge 0x10013fc9
push str.llbf_vcpvjuqm_nvknq_xgimoes_viyov_qyxb_admxgx_pnvj_jsfrhy_zqomccxw_ewchoou_hbmsi
call fcn.10048643
pop ecx
push ebx
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0xf
push eax
push 0x1603
push 0x10e7
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.10012703
xor ecx, ecx
mov dword [ebp - 0x24], ebx
add esp, 0x18
inc ecx
jmp 0x10014008
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x10c], 0x66e9f086
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], ecx
jl 0x10013ff7
mov dword [ebp - 0x24], ebx
jmp 0x10014020
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x48], 5
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], ecx
jl 0x10014012
mov eax, dword [ebp - 0x48]
dec dword [ebp - 0x48]
test eax, eax
je 0x10014044
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x9c]
cmp ecx, dword [eax + 4]
setg dl
cmp edx, dword [ebp - 0x14]
je 0x1001406b
cmp dword [ebp - 0x48], ebx
jne 0x1001406b
mov ecx, ebx
jmp 0x1001406e
xor ecx, ecx
inc ecx
mov esi, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0xb4]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0xa8]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x9c]
sete dl
xor ecx, ecx
cmp edx, dword [eax + esi*4]
setl cl
xor eax, eax
cmp ecx, edi
setne al
cmp eax, edi
je 0x100140c2
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x100140b0
mov dl, 1
call fcn.100126ae
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001411f
push ecx
call fcn.10014319
pop ecx
jmp 0x1001411f
push 1
lea ecx, [ebp - 0xf0]
call fcn.1000e8c0
push 1
push 0xc91
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0xf8]
push eax
push ecx
push 0x56b3
call fcn.10012703
push 1
push 0x7ee2
lea eax, [ebp - 0xb4]
push 0x3b03
push eax
lea edx, [ebp - 0xf0]
call fcn.100126d8
add esp, 0x28
lea ecx, [ebp - 0xf0]
call fcn.1000e943
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.1000e943
inc dword [ebp - 0x14]
jmp 0x10013eeb
lea ecx, [ebp - 0xb4]
call fcn.1000e943
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.1000e943
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xcc]
cmp edi, eax
je 0x10014168
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.1000f12b
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.1000f26d
jmp 0x10014185
push 1
push 0xf33
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret