Function at 0x1005eef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068348
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, word [ebp + 0xc]
movzx eax, word [ebp + 8]
movzx edx, word [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
movzx ecx, word [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x1005f33d
test cx, cx
je 0x1005f33d
cmp dword [esi + 0x34], 0
jg 0x1005f33d
mov ecx, dword [esi + 8]
lea edx, [ebp + 0x1c]
call fcn.10014f70
mov ecx, dword [esi + 0xc]
lea edx, [ebp + 0x34]
call fcn.10014f70
mov ebx, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x1005ef9b
push 4
push ebx
call edi
test eax, eax
jne 0x1005ef9b
push eax
mov ecx, ebx
call dword [0x1006ec50]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x1005efb4
push 4
push ebx
call edi
test eax, eax
jne 0x1005efb4
push eax
mov ecx, ebx
call dword [0x1006ec50]
cmp word [ebp - 0x64], 0xffff
je 0x1005f2e5
cmp word [ebp - 0x68], 0xffff
je 0x1005f2e5
mov bh, 0x3b
mov byte [ebp - 0x50], 0
mov al, 0x48
mov byte [ebp - 0x58], bh
mov ah, 0x54
mov byte [ebp - 0x50], 0
xor al, bh
xor ah, bh
mov cl, 0x42
mov byte [ebp - 0x57], al
mov dl, 0x56
mov byte [ebp - 0x53], ah
mov ch, 0x57
lea eax, [ebp - 0x57]
mov dh, 0x67
xor cl, bh
xor dl, bh
mov byte [ebp - 0x56], cl
xor ch, bh
mov byte [ebp - 0x55], dl
xor dh, bh
mov byte [ebp - 0x52], ch
mov bl, 0x59
mov byte [ebp - 0x51], dh
xor bl, bh
lea ecx, [ebp - 0x2c]
push eax
mov edx, 0x1007a7b0
mov byte [ebp - 0x54], bl
call fcn.10009fc0
add esp, 4
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
test ax, ax
jne 0x1005f080
movaps xmm0, xmmword [0x100700f0]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x753f7a63
mov word [ebp - 0x70], 0x6569
mov byte [ebp - 0x6e], al
nop dword [eax + eax]
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 0x15
jb 0x1005f050
lea eax, [ebp - 0x83]
mov byte [ebp - 0x6e], 0
push eax
lea ecx, [ebp - 0xe0]
call fcn.100029c0
mov ebx, 1
jmp 0x1005f0ef
cmp dword [ebp - 0x18], 0x10
movaps xmm0, xmmword [0x1006f4c0]
cwde
push eax
mov eax, dword [ebp - 0x64]
cwde
push eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0xa0], 0
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0xb0], xmm0
nop
mov al, byte [ebp - 0xb0]
xor byte [ebp + ecx - 0xaf], al
inc ecx
cmp ecx, 0x10
jb 0x1005f0b0
sub esp, 0x18
mov byte [ebp - 0x9f], 0
lea eax, [ebp - 0xaf]
mov ecx, esp
push eax
call fcn.100029c0
lea eax, [ebp - 0xc8]
push eax
call fcn.100061b0
add esp, 0x2c
mov ebx, 2
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], ebx
call fcn.100037a0
mov dword [ebp - 4], 4
test bl, 2
je 0x1005f118
and ebx, 0xfffffffd
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x48], ebx
call fcn.10002380
mov byte [ebp - 4], 5
test bl, 1
je 0x1005f132
and ebx, 0xfffffffe
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x48], ebx
call fcn.10002380
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x44]
call fcn.10014d00
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1005f183
push 4
push eax
call edi
test eax, eax
jne 0x1005f183
mov ecx, dword [ebp - 0x4c]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x1006ec30]
mov eax, dword [ebp - 0x6c]
test ax, ax
jne 0x1005f1f1
movaps xmm0, xmmword [0x1006fc50]
xor ecx, ecx
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], 0x541e5b42
mov word [ebp - 0x88], 0x4448
mov byte [ebp - 0x86], al
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x9c]
xor byte [ebp + ecx - 0x9b], al
inc ecx
cmp ecx, 0x15
jb 0x1005f1c0
lea eax, [ebp - 0x9b]
mov byte [ebp - 0x86], 0
push eax
lea ecx, [ebp - 0x110]
call fcn.100029c0
or ebx, 4
jmp 0x1005f251
cmp dword [ebp - 0x18], 0x10
movaps xmm0, xmmword [0x1006f7b0]
cwde
push eax
mov eax, dword [ebp - 0x68]
cwde
push eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0x50], 0x2a
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0x60], xmm0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x1005f220
sub esp, 0x18
mov byte [ebp - 0x4f], 0
lea eax, [ebp - 0x5f]
mov ecx, esp
push eax
call fcn.100029c0
lea eax, [ebp - 0xf8]
push eax
call fcn.100061b0
add esp, 0x2c
or ebx, 8
push eax
lea ecx, [ebp - 0x44]
call fcn.1000b810
test bl, 8
je 0x1005f26d
lea ecx, [ebp - 0xf8]
and ebx, 0xfffffff7
call fcn.10002380
mov dword [ebp - 4], 5
test bl, 4
je 0x1005f284
lea ecx, [ebp - 0x110]
call fcn.10002380
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x44]
call fcn.10014d00
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x1005f2d1
push 4
push ebx
call edi
test eax, eax
jne 0x1005f2d1
sub esp, 0x20
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x1006ec30]
lea ecx, [ebp - 0x44]
call fcn.10002380
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10002380
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1005f2fe
push 4
push ebx
call edi
test eax, eax
jne 0x1005f2fe
push eax
mov ecx, ebx
call dword [0x1006ebec]
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x1005f317
push 4
push ebx
call edi
test eax, eax
jne 0x1005f317
push eax
mov ecx, ebx
call dword [0x1006ebec]
mov al, byte [ebp + 0x18]
mov ecx, esi
mov byte [esi + 0x30], al
call fcn.10049f30
mov esi, dword [esi]
test esi, esi
je 0x1005f33d
push 4
push esi
call edi
test eax, eax
jne 0x1005f33d
push 1
mov ecx, esi
call dword [0x1006ebec]
mov edx, dword [ebp + 0x30]
cmp edx, 0x10
jb 0x1005f353
mov ecx, dword [ebp + 0x1c]
inc edx
push 1
call fcn.10002790
add esp, 4
mov edx, dword [ebp + 0x48]
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
cmp edx, 0x10
jb 0x1005f37b
mov ecx, dword [ebp + 0x34]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret 0x44