Function at 0x10017eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040778
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1004e018]
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, 0x62
mov byte [ebp - 0x29], 0x74
mov bh, al
mov byte [ebp - 0x50], 0x16
xor al, byte [ebp - 0x50]
mov ah, 0x73
mov byte [ebp - 0x2a], bh
mov dh, ah
mov bh, byte [ebp - 0x29]
mov dl, 0x78
xor bh, byte [ebp - 0x50]
mov bl, 0x49
mov byte [ebp - 0x29], bh
mov cl, 0x64
mov byte [ebp - 0x4f], bh
mov ch, 0x65
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 0x10017f57
xor ecx, ecx
jmp 0x10017f69
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017f60
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x28]
call fcn.100044d0
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 0x10017fa8
mov eax, dword [ecx]
jmp 0x10017faa
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100045d0
mov ecx, dword [esi]
call fcn.1000d2f0
mov dword [esi + 4], eax
mov bl, 0x30
mov byte [ebp - 0x3c], 0x55
mov dh, bl
mov al, 0x37
mov byte [ebp - 0x2a], dh
xor al, byte [ebp - 0x3c]
mov cl, 0x34
xor cl, byte [ebp - 0x3c]
mov dl, 0x26
mov byte [ebp - 0x3b], al
mov bh, dl
mov al, byte [ebp - 0x2a]
mov ah, 0xa
mov byte [ebp - 0x3a], cl
mov ch, 0x27
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], 0x21
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 0x1001804c
mov eax, dword [edx]
jmp 0x1001804e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x1001805b
xor ecx, ecx
jmp 0x1001806a
lea ecx, [ebp - 0x3b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018061
sub ecx, edi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi]
call fcn.1000d2f0
movaps xmm0, xmmword [0x100488b0]
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 0x10018094
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 0x100180d0
mov eax, dword [edx]
jmp 0x100180d2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x100180df
xor ecx, ecx
jmp 0x100180ee
lea ecx, [ebp - 0x3f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100180e5
sub ecx, edi
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi + 8]
call fcn.1000d2f0
mov dword [esi + 0xc], eax
mov cl, 0x75
mov byte [ebp - 0x3c], 1
mov al, 0x63
xor al, byte [ebp - 0x3c]
mov dh, 0x64
mov byte [ebp - 0x3b], al
mov dl, 0x6f
mov byte [ebp - 0x29], cl
mov bl, 0x5e
xor cl, byte [ebp - 0x3c]
mov ah, 0x71
mov byte [ebp - 0x3a], cl
mov ch, 0x73
mov cl, byte [ebp - 0x3c]
mov bh, 0x72
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 0x1001818c
mov eax, dword [edx]
jmp 0x1001818e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x1001819b
xor ecx, ecx
jmp 0x100181aa
lea ecx, [ebp - 0x3b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100181a1
sub ecx, edi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi + 8]
call fcn.1000d2f0
movaps xmm0, xmmword [0x10048cc0]
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 0x100181d5
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 0x10018211
mov eax, dword [edx]
jmp 0x10018213
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x10018220
xor ecx, ecx
jmp 0x1001822f
lea ecx, [ebp - 0x3f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018226
sub ecx, edi
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi + 8]
call fcn.1000d2f0
mov edi, dword [esi + 8]
add esp, 0x18
mov dword [esi + 0x10], eax
test edi, edi
je 0x10018266
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10018266
push eax
mov ecx, edi
call dword [0x10047fbc]
mov ch, 0x12
mov byte [ebp - 0x32], 0
mov dl, 0x7c
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, 0x70
mov cl, 0x66
mov bl, 0x4d
mov ah, 0x26
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 0x100182c1
mov eax, dword [edx]
jmp 0x100182c3
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x100182d0
xor ecx, ecx
jmp 0x100182df
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100182d6
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi]
call fcn.1000d2f0
mov ch, 0x38
mov dword [esi + 0x18], eax
mov dl, 0x56
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x5a
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x4c
mov bl, 0x67
mov ah, 0xd
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 0x1001834d
mov eax, dword [edx]
jmp 0x1001834f
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x1001835c
xor ecx, ecx
jmp 0x1001836b
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018362
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi]
call fcn.1000d2f0
mov ch, 0x2f
mov dword [esi + 0x1c], eax
mov dl, 0x41
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 0x4d
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x5b
mov bl, 0x70
mov ah, 0x19
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 0x100183d9
mov eax, dword [edx]
jmp 0x100183db
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x100183e8
xor ecx, ecx
jmp 0x100183f9
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100183f0
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi]
call fcn.1000d2f0
mov ch, 0x63
mov dword [esi + 0x20], eax
mov dl, 0xd
mov byte [ebp - 0x32], 0
xor dl, ch
mov byte [ebp - 0x38], ch
mov byte [ebp - 0x35], dl
mov al, 1
mov edx, esp
mov byte [ebp - 0x32], 0
mov cl, 0x17
mov bl, 0x3c
mov ah, 0x54
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 0x1001845c
xor ecx, ecx
jmp 0x1001846b
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018462
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100044d0
mov ecx, dword [esi]
call fcn.1000d2f0
mov dword [esi + 0x24], eax
add esp, 0x18
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10018496
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10004c40
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.1003de80
mov esp, ebp
pop ebp
ret