Function at 0x100234b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, ecx
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x38]
push 0x1039efdf
push eax
push dword [ebp + 8]
call fcn.1002de30
add esp, 0xc
movzx edx, byte [esp + 0x38]
cmp dx, 2
jne 0x100234ec
xor eax, eax
jmp 0x10023a9a
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esp + 0x34], eax
je 0x10023607
mov al, byte [esp + 0x39]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x27], al
movzx edi, al
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
xor eax, 2
or eax, dword [esi + 4]
mov al, byte [esp + 0x44]
mov byte [esp + 0xb], al
jne 0x10023613
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x1c], esi
mov esi, dword [esi + 0x14]
mov ebx, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
xor eax, 0x6e657261
xor ebx, 0x70736575
mov dword [esp + 0x48], ebx
mov ebx, ecx
xor ecx, 0x6c796765
xor ebx, 0x736f6d65
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov eax, edx
mov dword [esp + 0x54], ecx
xor edx, 0x79746573
xor eax, 0x6e646f6d
mov dword [esp + 0x58], eax
mov eax, esi
xor esi, 0x74656462
xor eax, 0x646f7261
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
cmp al, 1
jne 0x10023664
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push 4
call fcn.10018260
add esp, 4
cmp byte [esp + 0xb], 0
je 0x100238b4
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push dword [esp + 0x18]
jmp 0x1002368b
mov dword [esp], 0
jmp 0x10023a97
cmp dl, 1
jne 0x10023890
cmp byte [esp + 0xb], 0
je 0x100238f7
test ebx, ebx
je 0x10023aa2
mov dword [esp + 0x1c], esi
mov esi, 0xad2aca77
mov eax, 0x47985764
mov edi, ecx
nop
movzx ecx, byte [edi]
mov edx, 0x1b3
imul esi, esi, 0x1b3
inc edi
xor ecx, eax
mov eax, ecx
shl ecx, 8
mul edx
add ecx, edx
add esi, ecx
dec ebx
jne 0x10023640
jmp 0x10023938
lea esi, [esp + 0x38]
movzx eax, al
lea edx, [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x20], eax
push 4
call fcn.10018260
add esp, 4
lea edx, [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x20], edi
push 4
call fcn.10018260
add esp, 4
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
shl eax, 0x18
mov dword [esp + 0x14], esi
xor edx, esi
mov esi, dword [esp + 0x48]
or eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
xor ecx, eax
mov eax, dword [esp + 0x58]
add esi, eax
mov dword [esp + 4], esi
mov esi, eax
adc edi, ebx
shld esi, ebx, 0xd
shld ebx, eax, 0xd
mov eax, dword [esp + 0x50]
mov dword [esp], edi
xor ebx, edi
mov edi, dword [esp + 0x54]
xor esi, dword [esp + 4]
add eax, edx
mov dword [esp + 0xc], eax
mov eax, edx
adc edi, ecx
shrd edx, ecx, 0x10
shld eax, ecx, 0x10
mov dword [esp + 0x10], edi
xor edx, edi
mov edi, dword [esp + 4]
xor eax, dword [esp + 0xc]
add dword [esp], eax
mov ecx, eax
adc edi, edx
shld ecx, edx, 0x15
shrd eax, edx, 0xb
mov edx, esi
mov dword [esp + 4], edi
xor eax, edi
xor ecx, dword [esp]
add dword [esp + 0xc], esi
mov edi, dword [esp + 0x10]
adc edi, ebx
shld edx, ebx, 0x11
shrd esi, ebx, 0xf
mov ebx, dword [esp + 4]
xor edx, dword [esp + 0xc]
xor esi, edi
xor edi, 0xff
mov dword [esp + 0x10], edi
xor ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov ebx, dword [esp]
mov edi, dword [esp + 4]
xor ebx, dword [esp + 0x14]
add ebx, edx
mov dword [esp], ebx
mov ebx, edx
adc edi, esi
shrd edx, esi, 0x13
shld ebx, esi, 0xd
mov dword [esp + 4], edi
xor edx, edi
mov edi, dword [esp + 0xc]
mov esi, ecx
xor ebx, dword [esp]
add dword [esp + 0x10], ecx
adc edi, eax
shld esi, eax, 0x10
shrd ecx, eax, 0x10
xor esi, dword [esp + 0x10]
xor ecx, edi
mov dword [esp + 0xc], edi
mov edi, dword [esp]
add dword [esp + 4], esi
mov eax, esi
adc edi, ecx
shld eax, ecx, 0x15
shrd esi, ecx, 0xb
mov ecx, ebx
mov dword [esp], edi
xor esi, edi
xor eax, dword [esp + 4]
add dword [esp + 0x10], ebx
mov edi, dword [esp + 0xc]
adc edi, edx
shld ecx, edx, 0x11
shrd ebx, edx, 0xf
mov edx, dword [esp + 4]
xor ecx, dword [esp + 0x10]
xor ebx, edi
mov dword [esp + 0xc], edi
add edx, ecx
mov edi, ecx
adc dword [esp], ebx
shld edi, ebx, 0xd
shrd ecx, ebx, 0x13
mov dword [esp + 4], edx
mov ebx, eax
xor edi, edx
xor ecx, dword [esp]
add dword [esp + 0xc], eax
mov edx, dword [esp + 0x10]
adc edx, esi
shrd eax, esi, 0x10
shld ebx, esi, 0x10
mov dword [esp + 0x10], edx
xor eax, edx
mov edx, dword [esp + 0xc]
xor ebx, edx
add dword [esp], ebx
mov esi, ebx
adc dword [esp + 4], eax
shld esi, eax, 0x15
shrd ebx, eax, 0xb
mov eax, dword [esp + 0x10]
xor ebx, dword [esp + 4]
xor esi, dword [esp]
add edx, edi
mov dword [esp + 0xc], edx
mov edx, edi
adc eax, ecx
shld edx, ecx, 0x11
shrd edi, ecx, 0xf
mov ecx, dword [esp]
xor edx, dword [esp + 0xc]
xor edi, eax
mov dword [esp + 0x10], eax
add ecx, edx
mov eax, edx
adc dword [esp + 4], edi
shld eax, edi, 0xd
shrd edx, edi, 0x13
mov edi, dword [esp + 0x10]
xor eax, ecx
mov ecx, dword [esp + 0xc]
xor edx, dword [esp + 4]
add edi, esi
adc ecx, ebx
shrd esi, ebx, 0x10
xor esi, ecx
shr esi, 0xb
add edi, eax
mov eax, edx
adc ecx, edx
shr eax, 0xf
xor eax, esi
xor eax, ecx
xor eax, edi
cmp byte [esp + 0x30], 0
sete cl
mov dword [esp + 0x14], ecx
jmp 0x10023940
movzx eax, dx
movzx ecx, di
xor eax, 0x2325
imul eax, eax, 0xffffbc91
xor ecx, eax
imul eax, ecx, 0xffffbc91
mov cl, 1
mov dword [esp + 0x14], ecx
jmp 0x10023944
cmp dword [esp + 0x18], 0
je 0x10023693
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x20]
nop dword [eax + eax]
movzx eax, byte [edi]
inc edi
lea ecx, [esp + 0x38]
mov edx, esi
movzx eax, byte [eax + 0x1039efdf]
mov byte [esp + 0x20], al
push 1
call fcn.10018260
add esp, 4
dec ebx
jne 0x100238d0
jmp 0x10023693
test ebx, ebx
je 0x10023aa2
mov dword [esp + 0x1c], esi
mov esi, 0xad2aca77
mov eax, 0x47985764
mov edi, ecx
nop
mov edx, eax
movzx eax, byte [edi]
imul esi, esi, 0x1b3
inc edi
movzx ecx, byte [eax + 0x1039efdf]
xor ecx, edx
mov edx, 0x1b3
mov eax, ecx
shl ecx, 8
mul edx
add ecx, edx
add esi, ecx
dec ebx
jne 0x10023910
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x1c]
and eax, 0x7fff
mov dword [esp + 4], 0
mov ecx, eax
movzx eax, word [esi + 0x38]
mov dword [esp + 0x10], ecx
movzx edx, ax
mov eax, ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0xc], edx
and eax, edx
mov edx, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edx
jmp 0x1002398f
inc dword [esp + 4]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
inc esi
mov eax, esi
mov esi, eax
cmp eax, ecx
mov eax, 0
jae 0x1002398f
movzx ecx, word [edx + esi*4]
mov dword [esp], 0
cmp ecx, 0xffff
je 0x10023a97
movzx eax, word [edx + esi*4 + 2]
mov ebx, dword [esp + 0xc]
mov edi, esi
mov edx, eax
and edx, ebx
sub edi, edx
and edi, ebx
cmp dword [esp + 4], edi
ja 0x10023a97
cmp ax, word [esp + 0x10]
jne 0x10023980
cmp dword [esp + 0x34], ecx
jbe 0x10023ab3
mov eax, dword [esp + 0x28]
imul ecx, ecx, 0x38
cmp byte [eax + ecx], 1
jne 0x10023a37
cmp byte [esp + 0x14], 0
jne 0x10023980
mov edx, dword [esp + 0x28]
cmp byte [esp + 0xb], 0
mov eax, dword [edx + ecx + 4]
mov ecx, dword [edx + ecx + 8]
je 0x10023a56
cmp ecx, dword [esp + 0x18]
jne 0x10023980
mov ecx, dword [esp + 0x2c]
mov dword [esp], 1
cmp eax, ecx
je 0x10023a97
push dword [esp + 0x18]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10023980
jmp 0x10023a97
cmp byte [esp + 0x14], 0
je 0x10023980
mov al, byte [esp + 0x27]
mov edx, dword [esp + 0x28]
cmp byte [edx + ecx + 1], al
jne 0x10023980
jmp 0x10023a90
cmp ecx, dword [esp + 0x18]
jne 0x10023980
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [esp + 0x18], ecx
je 0x10023a90
mov edx, dword [esp + 0x2c]
movzx ebx, byte [eax + ecx]
movzx edx, byte [edx + ecx]
inc ecx
cmp bl, byte [edx + 0x1039efdf]
je 0x10023a70
jmp 0x10023980
mov dword [esp], 1
mov eax, dword [esp]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ax, 0x5764
mov dword [esp + 0x14], 0
jmp 0x10023944
mov edx, dword [esp + 0x34]
push 0x10398228
call fcn.10008590
add esp, 4
ud2