Function at 0x10037e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d37d
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x10080040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
jbe 0x100384e8
test eax, eax
je 0x100384e8
xor cl, cl
lea eax, [esi + 0x110]
mov edx, 6
cmp dword [eax - 4], 0
je 0x10037e5f
cmp dword [eax], 0
jne 0x10037e61
inc cl
add eax, 0x14
sub edx, 1
jne 0x10037e54
test cl, cl
jne 0x10037fe9
movaps xmm0, xmmword [0x10078d60]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x10037e80
xorps xmm0, xmm0
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x53]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037eb0
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002130
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x10078f50]
movups xmmword [ebp - 0xf8], xmm0
mov byte [ebp - 0xd8], 0
movaps xmm0, xmmword [0x10079340]
movups xmmword [ebp - 0xe8], xmm0
mov al, byte [ebp - 0xf8]
xor byte [ebp + ecx - 0xf7], al
inc ecx
cmp ecx, 0x1f
jb 0x10037ef2
xorps xmm0, xmm0
mov byte [ebp - 0xd8], 0
lea ecx, [ebp - 0xf7]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037f30
sub ecx, edx
lea eax, [ebp - 0xf7]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10002130
push 0
push ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push eax
call dword [0x10077ca0]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10037fa0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038505
push ecx
push edx
call fcn.1004a076
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x100384e8
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100384de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038505
jmp 0x100384de
mov edx, dword [ebp + 0x14]
xor cl, cl
nop
movzx eax, cl
cmp edx, 1
jne 0x10038178
lea eax, [eax + eax*4]
add eax, 0x46
cmp dword [esi + eax*4], 2
jne 0x10038189
movaps xmm0, xmmword [0x10078dc0]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop dword [eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x10038020
xorps xmm0, xmm0
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x53]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038050
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002130
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x10079390]
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0x84], 0x555a0006
movaps xmm0, xmmword [0x100793a0]
movups xmmword [ebp - 0xc4], xmm0
mov byte [ebp - 0x80], 0
movaps xmm0, xmmword [0x10078fd0]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x10079190]
movups xmmword [ebp - 0xa4], xmm0
movaps xmm0, xmmword [0x10078f70]
movups xmmword [ebp - 0x94], xmm0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0xd4]
xor byte [ebp + ecx - 0xd3], al
inc ecx
cmp ecx, 0x53
jb 0x100380d0
xorps xmm0, xmm0
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0xd3]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038105
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10002130
push 0
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push eax
call dword [0x10077ca0]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10037fa0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038505
jmp 0x10037f96
cmp edx, 2
jne 0x10038189
lea eax, [eax + eax*4]
add eax, 0x46
cmp dword [esi + eax*4], 1
je 0x100381c2
inc cl
cmp cl, 6
jb 0x10037ff0
xor al, al
movzx ecx, al
mov dword [ebp - 0x7c], ecx
lea edi, [ecx + ecx*4]
cmp dword [esi + edi*4 + 0x10c], 0
ja 0x100381b7
cmp dword [esi + edi*4 + 0x110], 0
jbe 0x1003831b
inc al
cmp al, 6
jb 0x10038196
jmp 0x100384e8
movaps xmm0, xmmword [0x10078d30]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x100381d0
xorps xmm0, xmm0
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x53]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038200
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10002130
mov dword [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [str._bTNeXZUUTOeZ__e6sNF_DWB_YX_f]
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0x84], 0x1a154f
movaps xmm0, xmmword [0x100793c0]
movups xmmword [ebp - 0xc4], xmm0
movaps xmm0, xmmword [0x100792f0]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x10079360]
movups xmmword [ebp - 0xa4], xmm0
movaps xmm0, xmmword [0x10079310]
movups xmmword [ebp - 0x94], xmm0
nop
mov al, byte [ebp - 0xd4]
xor byte [ebp + ecx - 0xd3], al
inc ecx
cmp ecx, 0x52
jb 0x10038270
xorps xmm0, xmm0
mov byte [ebp - 0x81], 0
lea ecx, [ebp - 0xd3]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100382a8
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10002130
push 0
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push eax
call dword [0x10077ca0]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10037fa0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038505
jmp 0x10037f96
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul dword [ebp - 0x2c]
mov eax, edx
shr eax, 6
mov dword [ebp - 0x78], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov ecx, eax
mov dword [ebp - 0x58], ecx
test ecx, ecx
je 0x100384e8
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 6
cmp dword [ecx], 0
je 0x10038423
mov eax, 0x12e0be83
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x74], eax
cmp eax, 4
jae 0x10038423
cmp byte [ecx + 4], 0x2d
jae 0x10038423
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10038420
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x78]
mov edx, dword [0x10077bf0]
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call edx
test eax, eax
je 0x10038420
cmp dword [eax + 0x3c], 0
je 0x10038420
push dword [ebp - 0x2c]
xor edx, edx
lea ecx, [ebp - 0x70]
push eax
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1003847b
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10038471
jmp 0x10038505
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x2c]
mov edx, ecx
lea ecx, [ebp - 0xf0]
push 0
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0xf
jbe 0x1003847b
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038505
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [esi + edi*4 + 0x10c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + edi*4 + 0x110], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + edi*4 + 0x114], eax
mov eax, dword [ebp - 0x7c]
lea eax, [eax + eax*4]
mov dword [esi + eax*4 + 0x118], ecx
mov esi, dword [esi + edi*4 + 0x11c]
test esi, esi
je 0x100384cd
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100384cd
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [0x10077c58]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100384e8
mov edx, dword [ebp - 0x28]
inc ecx
jmp 0x10037fc2
push ecx
push edx
call fcn.1004a076
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004a015
mov esp, ebp
pop ebp
ret 0x10
call fcn.1004f344
int3