Function at 0x10016010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ed58
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10048018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, 0x13
mov byte [ebp - 0x29], 5
mov bh, al
mov byte [ebp - 0x50], 0x67
xor al, byte [ebp - 0x50]
mov ah, 2
mov byte [ebp - 0x2a], bh
mov dh, ah
mov bh, byte [ebp - 0x29]
mov dl, 9
xor bh, byte [ebp - 0x50]
mov bl, 0x38
mov byte [ebp - 0x29], bh
mov cl, 0x15
mov byte [ebp - 0x4f], bh
mov ch, 0x14
mov bh, byte [ebp - 0x2a]
mov byte [ebp - 0x4e], al
mov al, byte [ebp - 0x50]
xor dl, al
mov byte [ebp - 0x46], 0
xor bl, al
mov byte [ebp - 0x4d], dl
xor cl, al
mov byte [ebp - 0x4c], bl
xor ah, al
mov byte [ebp - 0x4b], cl
xor ch, al
mov byte [ebp - 0x4a], ah
xor dh, al
mov byte [ebp - 0x49], ch
xor bh, al
mov byte [ebp - 0x48], dh
cmp byte [ebp - 0x29], 0
mov byte [ebp - 0x47], bh
mov byte [ebp - 0x46], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x100160b7
xor ecx, ecx
jmp 0x100160c9
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100160c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004e40
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10016108
mov eax, dword [ecx]
jmp 0x1001610a
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10004f40
mov ecx, dword [esi]
call fcn.1000db70
mov dword [esi + 4], eax
mov bl, 0xb
mov byte [ebp - 0x3c], 0x6e
mov dh, bl
mov al, 0xc
mov byte [ebp - 0x2a], dh
xor al, byte [ebp - 0x3c]
mov cl, 0xf
xor cl, byte [ebp - 0x3c]
mov dl, 0x1d
mov byte [ebp - 0x3b], al
mov bh, dl
mov al, byte [ebp - 0x2a]
mov ah, 0x31
mov byte [ebp - 0x3a], cl
mov ch, 0x1c
mov cl, byte [ebp - 0x3c]
xor al, cl
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x33], al
xor dl, cl
mov byte [ebp - 0x39], dl
xor dh, cl
mov byte [ebp - 0x35], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 0x29], 0x1a
mov al, byte [ebp - 0x29]
xor ah, cl
mov byte [ebp - 0x38], bl
xor ch, cl
mov byte [ebp - 0x37], ah
xor bh, cl
mov byte [ebp - 0x36], ch
xor al, cl
mov byte [ebp - 0x34], bh
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100161ac
mov eax, dword [edx]
jmp 0x100161ae
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x100161bb
xor ecx, ecx
jmp 0x100161ca
lea ecx, [ebp - 0x3b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100161c1
sub ecx, edi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi]
call fcn.1000db70
movaps xmm0, xmmword [0x10042230]
add esp, 0x18
mov dword [esi + 8], eax
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xf
jb 0x100161f4
sub esp, 0x18
mov byte [ebp - 0x30], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10016230
mov eax, dword [edx]
jmp 0x10016232
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x1001623f
xor ecx, ecx
jmp 0x1001624e
lea ecx, [ebp - 0x3f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016245
sub ecx, edi
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi + 8]
call fcn.1000db70
mov dword [esi + 0xc], eax
mov cl, 0x40
mov byte [ebp - 0x3c], 0x34
mov al, 0x56
xor al, byte [ebp - 0x3c]
mov dh, 0x51
mov byte [ebp - 0x3b], al
mov dl, 0x5a
mov byte [ebp - 0x29], cl
mov bl, 0x6b
xor cl, byte [ebp - 0x3c]
mov ah, 0x44
mov byte [ebp - 0x3a], cl
mov ch, 0x46
mov cl, byte [ebp - 0x3c]
mov bh, 0x47
mov byte [ebp - 0x2a], dh
xor dl, cl
mov al, byte [ebp - 0x2a]
xor dh, cl
mov byte [ebp - 0x39], dl
xor al, cl
mov byte [ebp - 0x33], al
xor bl, cl
mov al, byte [ebp - 0x29]
xor ah, cl
mov byte [ebp - 0x35], dh
xor ch, cl
mov edx, esp
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x38], bl
xor bh, cl
mov byte [ebp - 0x37], ah
xor al, cl
mov byte [ebp - 0x36], ch
mov byte [ebp - 0x34], bh
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100162ec
mov eax, dword [edx]
jmp 0x100162ee
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x100162fb
xor ecx, ecx
jmp 0x1001630a
lea ecx, [ebp - 0x3b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016301
sub ecx, edi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi + 8]
call fcn.1000db70
movaps xmm0, xmmword [0x10042990]
add esp, 0x18
mov dword [esi + 0x14], eax
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xf
jb 0x10016335
sub esp, 0x18
mov byte [ebp - 0x30], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10016371
mov eax, dword [edx]
jmp 0x10016373
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x10016380
xor ecx, ecx
jmp 0x1001638f
lea ecx, [ebp - 0x3f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016386
sub ecx, edi
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi + 8]
call fcn.1000db70
mov edi, dword [esi + 8]
add esp, 0x18
mov dword [esi + 0x10], eax
test edi, edi
je 0x100163c6
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100163c6
push eax
mov ecx, edi
call dword [0x10041b24]
mov ch, 0x59
mov byte [ebp - 0x32], 0
mov dl, 0x37
mov byte [ebp - 0x38], ch
xor dl, ch
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x35], dl
sub esp, 0x18
mov edx, esp
mov al, 0x3b
mov cl, 0x2d
mov bl, 6
mov ah, 0x6d
xor al, ch
mov byte [ebp - 0x37], al
xor cl, ch
mov byte [ebp - 0x36], cl
xor bl, ch
mov byte [ebp - 0x34], bl
xor ah, ch
mov byte [ebp - 0x33], ah
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10016421
mov eax, dword [edx]
jmp 0x10016423
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10016430
xor ecx, ecx
jmp 0x1001643f
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016436
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi]
call fcn.1000db70
mov ch, 0x4b
mov dword [esi + 0x18], eax
mov dl, 0x25
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x29
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x3f
mov bl, 0x14
mov ah, 0x7e
xor al, ch
mov byte [ebp - 0x37], al
xor cl, ch
mov byte [ebp - 0x36], cl
xor bl, ch
mov byte [ebp - 0x34], bl
xor ah, ch
mov byte [ebp - 0x33], ah
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100164ad
mov eax, dword [edx]
jmp 0x100164af
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x100164bc
xor ecx, ecx
jmp 0x100164cb
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100164c2
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi]
call fcn.1000db70
mov ch, 0x39
mov dword [esi + 0x1c], eax
mov dl, 0x57
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x5b
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x4d
mov bl, 0x66
mov ah, 0xf
xor al, ch
mov byte [ebp - 0x37], al
xor cl, ch
mov byte [ebp - 0x36], cl
xor bl, ch
mov byte [ebp - 0x34], bl
xor ah, ch
mov byte [ebp - 0x33], ah
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10016539
mov eax, dword [edx]
jmp 0x1001653b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10016548
xor ecx, ecx
jmp 0x10016559
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016550
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi]
call fcn.1000db70
mov ch, 0x21
mov dword [esi + 0x20], eax
mov dl, 0x4f
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x43
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x55
mov bl, 0x7e
mov ah, 0x16
xor al, ch
mov byte [ebp - 0x37], al
xor cl, ch
xor bl, ch
mov byte [ebp - 0x36], cl
xor ah, ch
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], ah
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x37], 0
jne 0x100165bc
xor ecx, ecx
jmp 0x100165cb
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100165c2
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi]
call fcn.1000db70
mov dword [esi + 0x24], eax
add esp, 0x18
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100165f6
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100055b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c800
mov esp, ebp
pop ebp
ret