Function at 0x10038a00
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce9ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
mov edi, dword [0x100fb480]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp edi, 0x1388
ja 0x10038ac3
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10038a93
push 4
push eax
call esi
test eax, eax
jne 0x10038a8d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x124]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10038a8d
push 4
push eax
call esi
test eax, eax
jne 0x10038a8d
mov ecx, dword [ebp - 0x18]
push edi
call dword [0x100ec654]
mov edi, dword [0x100fb480]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x18]
mov dword ds:[0xbc675c], eax
fild dword ds:[0xbc6758]
mov edx, dword ds:[0xbc675c]
push edx
mov ecx, 0xc20ec0
fstp dword ds:[0xbc7c00]
call dword [0x100e9b90]
mov eax, dword [ebp - 0x3c]
mov edi, dword [0x100fb49c]
test edi, edi
js 0x10038d82
cmp edi, 0x17
jg 0x10038d82
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10038b10
push 4
push eax
call esi
test eax, eax
jne 0x10038b10
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x124]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10038b10
push 4
push eax
call esi
test eax, eax
jne 0x10038b10
mov ecx, dword [ebp - 0x18]
push edi
call dword [0x100ec654]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.100892d0
lea ecx, [ebp - 0x34]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x34], eax
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 4], 1
xor ecx, ecx
mov eax, dword [0x100fb49c]
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
push eax
cmp eax, 0xa
jge 0x10038bd9
movaps xmm0, xmmword [0x100eefe0]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x3030957
mov byte [ebp - 0x40], cl
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x13
jb 0x10038b90
sub esp, 0x1c
mov byte [ebp - 0x40], 0
mov edx, esp
lea ecx, [ebp - 0x53]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038bd0
jmp 0x10038c37
movaps xmm0, xmmword [0x100ee850]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x7b7b71
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x53]
xor al, byte [ebp - 0x54]
mov byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x12
jb 0x10038bf0
sub esp, 0x1c
mov byte [ebp - 0x41], 0
mov edx, esp
lea ecx, [ebp - 0x53]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038c30
sub ecx, edi
lea eax, [ebp - 0x53]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x70]
push eax
call fcn.1000d7c0
mov edi, eax
add esp, 0x24
lea eax, [ebp - 0x34]
cmp eax, edi
je 0x10038c6a
mov ecx, eax
call fcn.10002f50
push edi
lea ecx, [ebp - 0x34]
call fcn.10008460
lea ecx, [ebp - 0x70]
call fcn.10002f50
mov eax, dword [ebp - 0x70]
push 8
push eax
mov dword [ebp - 0x70], 0
call fcn.10089370
mov eax, dword [ebp - 0x3c]
add esp, 8
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10038d1a
push 4
push eax
call esi
test eax, eax
jne 0x10038d1a
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x30]
cmova ecx, dword [ebp - 0x30]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038cb0
sub ecx, edx
mov dword [ebp - 0x18], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c3c0
add esp, 0xc
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x30]
push dword [ebp - 0x18]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec660]
push edi
call fcn.10089370
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 4
mov eax, dword [0x100fb49c]
mov dword [ebp - 0x38], eax
test eax, eax
jle 0x10038d5e
mov ecx, 0xd78c94
call fcn.1001e520
mov edi, eax
test edi, edi
je 0x10038d5e
push 4
push edi
call esi
test eax, eax
jne 0x10038d5e
mov edi, dword [edi + 0x28]
test edi, edi
je 0x10038d5e
push 4
push edi
call esi
test eax, eax
jne 0x10038d5e
push eax
push dword [ebp - 0x38]
mov ecx, edi
push eax
push eax
push eax
call dword [0x100ec6f8]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.10089370
add esp, 8
mov eax, dword [0x100fb4a0]
mov dword [ebp - 0x38], eax
dec eax
cmp eax, 9
ja 0x10038e31
mov edi, dword [ebp - 0x3c]
mov edi, dword [edi + 0x40]
test edi, edi
je 0x10038dc5
push 4
push edi
call esi
test eax, eax
jne 0x10038dc5
mov edi, dword [edi + 0x124]
test edi, edi
je 0x10038dc5
push 4
push edi
call esi
test eax, eax
jne 0x10038dc5
push dword [ebp - 0x38]
mov ecx, edi
call dword [0x100ec654]
mov edi, dword [ebp - 0x3c]
mov eax, dword [0x100fb4a0]
mov dword [ebp - 0x38], eax
mov edi, dword [edi + 0x44]
test edi, edi
je 0x10038deb
push 4
push edi
call esi
test eax, eax
jne 0x10038deb
push dword [ebp - 0x38]
mov ecx, edi
call dword [0x100ec664]
movd xmm0, dword [0x100fb4a0]
mov ecx, 0xd78d28
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x100ee0a0]
movss dword [ebp - 0x38], xmm0
movss dword [0x100f7b3c], xmm0
call fcn.1001e520
test eax, eax
je 0x10038e31
lea edi, [eax + 0x1b8]
push 4
push edi
call esi
test eax, eax
jne 0x10038e31
movss xmm0, dword [ebp - 0x38]
movss dword [edi], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret