Function at 0x1000ef3a
Capabilities:
Encode data using xor

Disassembly:
push 0x98
mov eax, 0x1003545c
call fcn.10034326
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
cmp dword [0x1007cfb0], 0
je 0x1000f37d
lea eax, [ebx + 0x10]
push 0xa
mov dword [ebp - 0x3c], eax
mov esi, eax
pop eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1000ef89
xor dl, dl
call fcn.1000932c
mov eax, dword [ebp - 0x2c]
add esi, 4
sub eax, 1
mov dword [ebp - 0x2c], eax
jne 0x1000ef79
mov ecx, dword [ebx]
call dword [0x1003cc38]
mov esi, dword [ebp - 0x70]
mov ax, word [edi]
cmp ax, word [esi]
jb 0x1000f0d2
mov ax, word [edi + 2]
cmp ax, word [esi + 2]
jb 0x1000f0d2
mov ax, word [edi + 4]
cmp ax, word [esi + 4]
jb 0x1000f0d2
mov ax, word [edi + 6]
cmp ax, word [esi + 6]
jb 0x1000f0d2
mov ecx, dword [ebx + 0x10]
call fcn.1000924a
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.1000924a
mov ecx, dword [ebx + 0x10]
mov esi, eax
call fcn.100092bd
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.100092e3
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
pop ecx
cmova eax, dword [ebp + 0x14]
mov cl, 0x7d
push eax
mov dword [ebp - 0x2c], 0xe587d
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x1000f025
mov cl, byte [ebp - 0x2c]
jmp 0x1000f016
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x28]
push eax
call fcn.1000485c
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.10009b96
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002410
movaps xmm0, xmmword [0x1003e2a0]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x232a362b
mov dword [ebp - 0x14], 0x672332
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x16
jb 0x1000f078
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x8c]
push eax
call fcn.1000485c
add esp, 0x1c
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [ebx + 0x38]
call fcn.10009b96
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.10002410
mov ecx, dword [ebx + 0x10]
mov dl, 1
call fcn.1000932c
jmp 0x1000f373
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
mov cl, 0x2e
mov dword [ebp - 0x2c], 0x5d0b2e
cmova eax, dword [ebp + 0x14]
push eax
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x1000f0f8
mov cl, byte [ebp - 0x2c]
jmp 0x1000f0e9
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x8c]
push eax
call fcn.1000485c
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.10009b96
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.10002410
mov eax, dword [ebp - 0x40]
lea ecx, [ebx + 0x10]
sub esi, eax
mov dword [ebp - 0x74], 4
sub edi, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x5c], edi
movzx edx, word [eax]
test dx, dx
je 0x1000f35d
mov ecx, edx
call fcn.10004ccd
mov dword [ebp - 0x2c], eax
mov cl, 0x15
mov dword [ebp - 0x38], 0x7e7b4015
xor eax, eax
mov dword [ebp - 0x34], 0x7b627a7b
mov byte [ebp - 0x30], 0
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 7
jae 0x1000f188
mov cl, byte [ebp - 0x38]
jmp 0x1000f179
lea eax, [ebp - 0x37]
mov byte [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10002604
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1000f1b4
add eax, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.10003baa
jmp 0x1000f28a
mov ecx, dword [ebp - 0x40]
xor eax, eax
inc eax
cmp word [ecx], ax
jne 0x1000f28a
cmp byte [0x1007cfbc], 0
mov eax, dword [0x1007cfb0]
mov dword [ebp - 0x2c], eax
je 0x1000f21c
mov ecx, 0x10b8134
call fcn.10009ccd
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1000f219
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000f219
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000f219
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1000f21c
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x38], 1
jne 0x1000f253
xor edx, edx
mov dword [ebp - 0x4c], 0x410d2461
mov cl, 0x61
mov dword [ebp - 0x48], 0x130e2c
mov word [ebp - 0x44], 5
mov eax, edx
xor byte [ebp + eax - 0x4b], cl
inc eax
cmp eax, 8
jae 0x1000f24b
mov cl, byte [ebp - 0x4c]
jmp 0x1000f23c
mov byte [ebp - 0x43], dl
lea edx, [ebp - 0x4b]
jmp 0x1000f26e
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x36250f44
mov word [ebp - 0x60], 0x3731
mov byte [ebp - 0x5e], 0
call fcn.10005161
mov edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f276
sub ecx, dword [ebp - 0x68]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000239e
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x58], 0x4e1d4b6e
mov dword [ebp - 0x54], 0x4b410a4b
movzx edx, word [eax + esi]
movzx ecx, word [edi + eax]
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push edx
push ecx
push eax
mov cl, 0x6e
mov word [ebp - 0x50], 0xa
xor eax, eax
xor byte [ebp + eax - 0x57], cl
inc eax
cmp eax, 8
jae 0x1000f2ca
mov cl, byte [ebp - 0x58]
jmp 0x1000f2bb
sub esp, 0x18
mov byte [ebp - 0x4f], 0
lea eax, [ebp - 0x57]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0xa4]
push eax
call fcn.1000485c
add esp, 0x28
mov esi, dword [ebp - 0x3c]
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x28]
call fcn.10009b96
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.10002410
mov ecx, dword [esi]
call fcn.1000924a
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.1000924a
mov esi, eax
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call fcn.100092bd
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.100092e3
mov eax, dword [ebp - 0x3c]
mov dl, 1
pop ecx
mov ecx, dword [eax]
call fcn.1000932c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002410
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
add ecx, 4
add eax, 2
sub dword [ebp - 0x74], 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
jne 0x1000f14d
mov ecx, dword [ebx]
push 1
call dword [0x1003cc3c]
lea ecx, [ebp + 0x14]
call fcn.10002410
call fcn.100342e4
ret 0x24