Function at 0x100384c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066d08
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x10078014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
movzx eax, word [esi + 0x138]
xor ecx, ecx
movzx edx, word [esi + 0x136]
movaps xmm0, xmmword [0x1006fc00]
push eax
mov word [esi + 0x142], dx
mov word [esi + 0x144], ax
push edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0xd40010c
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x13
jb 0x10038523
sub esp, 0x18
mov byte [ebp - 0x18], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10038551
mov eax, dword [edx]
jmp 0x10038553
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2b], 0
jne 0x10038560
xor ecx, ecx
jmp 0x10038572
lea ecx, [ebp - 0x2b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038566
sub ecx, esi
mov esi, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x2b]
mov ecx, edx
push eax
call fcn.100028c0
lea eax, [ebp - 0x70]
push eax
call fcn.100061b0
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.10014f70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100385b8
mov ecx, dword [ebp - 0x70]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea ecx, [esi + 0x12a]
lea edi, [esi + 0x50]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], 3
movzx eax, word [ecx - 6]
mov dword [edi - 0xc], eax
mov ax, word [ecx]
mov edx, dword [edi - 0xc]
mov word [edi - 8], ax
mov al, byte [esi + 0x13b]
mov byte [edi - 6], al
mov esi, dword [0x1007a6b0]
mov byte [ebp - 0xd], al
mov eax, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1003861d
nop
cmp dword [ecx + 0x10], edx
jae 0x1003860a
mov ecx, dword [ecx + 8]
jmp 0x1003860e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10038600
cmp eax, esi
je 0x1003861d
cmp edx, dword [eax + 0x10]
jae 0x1003861f
mov eax, esi
cmp eax, esi
jne 0x10038627
xor eax, eax
jmp 0x1003862a
add eax, 0x14
test eax, eax
je 0x100386fc
movzx eax, word [edi - 8]
mov cl, 0x35
push eax
mov dword [ebp - 0x28], 0x5b407d35
xor eax, eax
mov dword [ebp - 0x24], 0x15181541
mov dword [ebp - 0x20], 0x151a1505
mov word [ebp - 0x1c], 0x5110
mov byte [ebp - 0x1a], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xd
jae 0x1003866f
mov cl, byte [ebp - 0x28]
jmp 0x10038660
sub esp, 0x18
mov byte [ebp - 0x1a], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10038690
mov eax, dword [edx]
jmp 0x10038692
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1003869f
xor ecx, ecx
jmp 0x100386ae
lea ecx, [ebp - 0x27]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100386a5
sub ecx, esi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.100028c0
lea eax, [ebp - 0x70]
push eax
call fcn.100061b0
add esp, 0x20
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi]
call fcn.10014f70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100387e6
mov ecx, dword [ebp - 0x70]
inc edx
push 1
call fcn.10002790
add esp, 4
jmp 0x100387e6
cmp edx, 1
jne 0x10038859
cmp byte [ebp - 0xd], 0
je 0x10038859
movzx eax, word [edi - 8]
mov dh, 0x79
push eax
mov cl, 0x59
mov byte [ebp - 0x34], dh
mov dl, 0x56
mov byte [ebp - 0x2d], 0
xor dl, dh
mov byte [ebp - 0x2d], 0
mov bl, cl
mov byte [ebp - 0x31], dl
mov al, 0x49
mov ah, 0x5c
mov ch, 0x1d
xor al, dh
xor cl, dh
mov byte [ebp - 0x33], al
xor bl, dh
mov byte [ebp - 0x32], cl
xor ah, dh
mov byte [ebp - 0x30], bl
xor ch, dh
mov byte [ebp - 0x2f], ah
sub esp, 0x18
mov byte [ebp - 0x2e], ch
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10038768
mov eax, dword [edx]
jmp 0x1003876a
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x10038777
xor ecx, ecx
jmp 0x10038789
lea ecx, [ebp - 0x33]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038780
sub ecx, esi
push ecx
lea eax, [ebp - 0x33]
mov ecx, edx
push eax
call fcn.100028c0
lea eax, [ebp - 0x58]
push eax
call fcn.100061b0
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi]
call fcn.10014f70
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100387ce
mov ecx, dword [ebp - 0x58]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov esi, dword [edi]
test esi, esi
je 0x100387ff
push 4
push esi
call ebx
test eax, eax
jne 0x100387ff
push 0xffffffffffffffff
mov ecx, esi
call dword [0x1006ec54]
mov esi, dword [edi + 4]
movzx eax, word [edi - 8]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10038859
push 4
push esi
call ebx
test eax, eax
jne 0x10038859
push 4
lea ebx, [esi + 0x140]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10038853
push 4
lea eax, [esi + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10038853
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebx], 0
mov dword [esi + 0x13c], eax
call dword [0x1006ec34]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [ebp - 0x38]
add edi, 0x18
mov esi, dword [ebp - 0x40]
add ecx, 2
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], ecx
jne 0x100385d1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret