Function at 0x10018ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100413c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10050018]
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, 0x7b
mov byte [ebp - 0x29], 0x6d
mov bh, al
mov byte [ebp - 0x50], 0xf
xor al, byte [ebp - 0x50]
mov ah, 0x6a
mov byte [ebp - 0x2a], bh
mov dh, ah
mov bh, byte [ebp - 0x29]
mov dl, 0x61
xor bh, byte [ebp - 0x50]
mov bl, 0x50
mov byte [ebp - 0x29], bh
mov cl, 0x7d
mov byte [ebp - 0x4f], bh
mov ch, 0x7c
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 0x10018b87
xor ecx, ecx
jmp 0x10018b99
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018b90
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004440
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 0x10018bd8
mov eax, dword [ecx]
jmp 0x10018bda
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10004540
mov ecx, dword [esi]
call fcn.1000d700
mov dword [esi + 4], eax
mov bl, 0x79
mov byte [ebp - 0x3c], 0x1c
mov dh, bl
mov al, 0x7e
mov byte [ebp - 0x2a], dh
xor al, byte [ebp - 0x3c]
mov cl, 0x7d
xor cl, byte [ebp - 0x3c]
mov dl, 0x6f
mov byte [ebp - 0x3b], al
mov bh, dl
mov al, byte [ebp - 0x2a]
mov ah, 0x43
mov byte [ebp - 0x3a], cl
mov ch, 0x6e
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], 0x68
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 0x10018c7c
mov eax, dword [edx]
jmp 0x10018c7e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x10018c8b
xor ecx, ecx
jmp 0x10018c9a
lea ecx, [ebp - 0x3b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018c91
sub ecx, edi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi]
call fcn.1000d700
movaps xmm0, xmmword [0x10049da0]
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 0x10018cc4
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 0x10018d00
mov eax, dword [edx]
jmp 0x10018d02
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x10018d0f
xor ecx, ecx
jmp 0x10018d1e
lea ecx, [ebp - 0x3f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018d15
sub ecx, edi
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi + 8]
call fcn.1000d700
mov dword [esi + 0xc], eax
mov cl, 0x72
mov byte [ebp - 0x3c], 6
mov al, 0x64
xor al, byte [ebp - 0x3c]
mov dh, 0x63
mov byte [ebp - 0x3b], al
mov dl, 0x68
mov byte [ebp - 0x29], cl
mov bl, 0x59
xor cl, byte [ebp - 0x3c]
mov ah, 0x76
mov byte [ebp - 0x3a], cl
mov ch, 0x74
mov cl, byte [ebp - 0x3c]
mov bh, 0x75
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 0x10018dbc
mov eax, dword [edx]
jmp 0x10018dbe
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x10018dcb
xor ecx, ecx
jmp 0x10018dda
lea ecx, [ebp - 0x3b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018dd1
sub ecx, edi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi + 8]
call fcn.1000d700
movaps xmm0, xmmword [0x10049480]
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 0x10018e05
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 0x10018e41
mov eax, dword [edx]
jmp 0x10018e43
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x10018e50
xor ecx, ecx
jmp 0x10018e5f
lea ecx, [ebp - 0x3f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018e56
sub ecx, edi
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi + 8]
call fcn.1000d700
mov edi, dword [esi + 8]
add esp, 0x18
mov dword [esi + 0x10], eax
test edi, edi
je 0x10018e96
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10018e96
push eax
mov ecx, edi
call dword [0x10048ff4]
mov ch, 0x1f
mov byte [ebp - 0x32], 0
mov dl, 0x71
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, 0x7d
mov cl, 0x6b
mov bl, 0x40
mov ah, 0x2b
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 0x10018ef1
mov eax, dword [edx]
jmp 0x10018ef3
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10018f00
xor ecx, ecx
jmp 0x10018f0f
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018f06
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi]
call fcn.1000d700
mov ch, 0x7e
mov dword [esi + 0x18], eax
mov dl, 0x10
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x1c
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0xa
mov bl, 0x21
mov ah, 0x4b
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 0x10018f7d
mov eax, dword [edx]
jmp 0x10018f7f
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10018f8c
xor ecx, ecx
jmp 0x10018f9b
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018f92
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi]
call fcn.1000d700
mov ch, 0x4f
mov dword [esi + 0x1c], eax
mov dl, 0x21
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x2d
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x3b
mov bl, 0x10
mov ah, 0x79
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 0x10019009
mov eax, dword [edx]
jmp 0x1001900b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10019018
xor ecx, ecx
jmp 0x10019029
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019020
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi]
call fcn.1000d700
mov ch, 2
mov dword [esi + 0x20], eax
mov dl, 0x6c
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x60
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x76
mov bl, 0x5d
mov ah, 0x35
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 0x1001908c
xor ecx, ecx
jmp 0x1001909b
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019092
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10004440
mov ecx, dword [esi]
call fcn.1000d700
mov dword [esi + 0x24], eax
add esp, 0x18
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100190c6
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10004bb0
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.1003eb30
mov esp, ebp
pop ebp
ret