Function at 0x1000e1a1
Capabilities:
Encode data using xor

Disassembly:
push 0x98
mov eax, 0x10030aac
call fcn.1002fc16
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
cmp dword [0x1003fc24], 0
je 0x1000e5e7
push 0xa
lea eax, [ebx + 0x10]
pop ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], ecx
mov edx, dword [eax]
test edx, edx
je 0x1000e1f3
mov ecx, dword [eax]
xor dl, dl
call fcn.100085ba
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], ecx
jne 0x1000e1de
mov ecx, dword [ebx]
call dword [0x10037bb0]
mov ax, word [esi]
cmp ax, word [edi]
jb 0x1000e33d
mov ax, word [esi + 2]
cmp ax, word [edi + 2]
jb 0x1000e33d
mov ax, word [esi + 4]
cmp ax, word [edi + 4]
jb 0x1000e33d
mov ax, word [esi + 6]
cmp ax, word [edi + 6]
jb 0x1000e33d
mov ecx, dword [ebx + 0x10]
call fcn.100084d8
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.100084d8
mov ecx, dword [ebx + 0x10]
mov esi, eax
call fcn.1000854b
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.10008571
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
pop ecx
cmova eax, dword [ebp + 0x14]
mov cl, 0xe
push eax
mov dword [ebp - 0x2c], 0x7d2b0e
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x1000e28f
mov cl, byte [ebp - 0x2c]
jmp 0x1000e280
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10003ec3
lea eax, [ebp - 0x28]
push eax
call fcn.10003d99
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.10008e24
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100026bd
movaps xmm0, xmmword [0x10037f80]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x18110d10
mov dword [ebp - 0x14], 0x5c1809
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x16
jb 0x1000e2e2
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10003ec3
lea eax, [ebp - 0x8c]
push eax
call fcn.10003d99
add esp, 0x1c
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [ebx + 0x38]
call fcn.10008e24
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.100026bd
mov ecx, dword [ebx + 0x10]
xor edx, edx
inc edx
call fcn.100085ba
jmp 0x1000e5dd
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
mov cl, 0x2b
mov dword [ebp - 0x2c], 0x580e2b
cmova eax, dword [ebp + 0x14]
push eax
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x1000e363
mov cl, byte [ebp - 0x2c]
jmp 0x1000e354
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10003ec3
lea eax, [ebp - 0x8c]
push eax
call fcn.10003d99
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.10008e24
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.100026bd
mov eax, dword [ebp - 0x30]
lea ecx, [ebx + 0x10]
sub edi, eax
mov dword [ebp - 0x4c], 4
sub esi, eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x74], esi
movzx edx, word [eax]
test dx, dx
je 0x1000e5c7
mov ecx, edx
call fcn.100042b8
mov dword [ebp - 0x34], eax
mov cl, 0x12
mov dword [ebp - 0x44], 0x797c4712
xor eax, eax
mov dword [ebp - 0x40], 0x7c657d7c
mov byte [ebp - 0x3c], 0
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 7
jae 0x1000e3f3
mov cl, byte [ebp - 0x44]
jmp 0x1000e3e4
lea eax, [ebp - 0x43]
mov byte [ebp - 0x3c], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10003ec3
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 4
test eax, eax
je 0x1000e41f
add eax, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.100030b0
jmp 0x1000e4f4
mov eax, dword [ebp - 0x30]
xor edx, edx
inc edx
cmp word [eax], dx
jne 0x1000e4f7
cmp byte [0x1003fc30], 0
mov eax, dword [0x1003fc24]
mov dword [ebp - 0x2c], eax
je 0x1000e487
mov ecx, 0x10b8134
call fcn.10008f5b
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000e484
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000e484
mov eax, dword [ebp - 0x34]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000e484
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1000e487
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x38], 1
jne 0x1000e4bd
mov cl, 0x1e
mov dword [ebp - 0x58], 0x3e725b1e
mov dword [ebp - 0x54], 0x7f6c7153
xor eax, eax
mov word [ebp - 0x50], 0x7a
xor byte [ebp + eax - 0x57], cl
inc eax
cmp eax, 8
jae 0x1000e4b4
mov cl, byte [ebp - 0x58]
jmp 0x1000e4a5
mov byte [ebp - 0x4f], 0
lea edx, [ebp - 0x57]
jmp 0x1000e4d8
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x77644e05
mov word [ebp - 0x6c], 0x7670
mov byte [ebp - 0x6a], 0
call fcn.10004752
mov edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e4e0
sub ecx, dword [ebp - 0x34]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10002526
mov eax, dword [ebp - 0x30]
movzx edx, word [eax + edi]
movzx ecx, word [esi + eax]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push edx
cmova eax, dword [ebp - 0x28]
push ecx
push eax
mov cl, 0x15
mov dword [ebp - 0x64], 0x35663015
mov dword [ebp - 0x60], 0x303a7130
xor eax, eax
mov word [ebp - 0x5c], 0x71
xor byte [ebp + eax - 0x63], cl
inc eax
cmp eax, 8
jae 0x1000e534
mov cl, byte [ebp - 0x64]
jmp 0x1000e525
sub esp, 0x18
mov byte [ebp - 0x5b], 0
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.10003ec3
lea eax, [ebp - 0xa4]
push eax
call fcn.10003d99
add esp, 0x28
mov esi, dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x28]
call fcn.10008e24
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.100026bd
mov ecx, dword [esi]
call fcn.100084d8
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.100084d8
mov esi, eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call fcn.1000854b
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.10008571
mov eax, dword [ebp - 0x48]
mov dl, 1
pop ecx
mov ecx, dword [eax]
call fcn.100085ba
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100026bd
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
add ecx, 4
add eax, 2
sub dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
jne 0x1000e3b8
mov ecx, dword [ebx]
push 1
call dword [0x10037bb4]
lea ecx, [ebp + 0x14]
call fcn.100026bd
call fcn.1002fbd4
ret 0x24