Function at 0x10037460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac528
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100d6084]
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 ebx, ecx
mov dword [ebp - 0x48], ebx
mov esi, dword [0x100df920]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp esi, 0x1388
ja 0x10037506
mov ebx, dword [ebx + 0x34]
test ebx, ebx
je 0x100374d6
push 4
push ebx
call edi
test eax, eax
jne 0x100374d0
mov ebx, dword [ebx + 0x124]
test ebx, ebx
je 0x100374d0
push 4
push ebx
call edi
test eax, eax
jne 0x100374d0
push esi
mov ecx, ebx
call dword [0x100c6870]
mov esi, dword [0x100df920]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
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 [0x100c32d0]
mov ebx, dword [ebp - 0x48]
mov esi, dword [0x100df93c]
cmp esi, 0x17
ja 0x1003762d
mov ebx, dword [ebx + 0x38]
test ebx, ebx
je 0x10037547
push 4
push ebx
call edi
test eax, eax
jne 0x10037541
mov ebx, dword [ebx + 0x124]
test ebx, ebx
je 0x10037541
push 4
push ebx
call edi
test eax, eax
jne 0x10037541
push esi
mov ecx, ebx
call dword [0x100c6870]
mov esi, dword [0x100df93c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push esi
cmp esi, 0xa
jge 0x10037593
movaps xmm0, xmmword [0x100c92e0]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x2c2c2678
mov byte [ebp - 0x30], cl
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x10037580
mov byte [ebp - 0x30], 0
jmp 0x100375b6
movaps xmm0, xmmword [0x100c9410]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x2f2f25
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x12
jb 0x100375a5
mov byte [ebp - 0x31], 0
sub esp, 0x18
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.10002940
lea eax, [ebp - 0x60]
push eax
call fcn.1000f620
add esp, 0x20
lea ecx, [ebp - 0x2c]
push eax
call fcn.10006bb0
lea ecx, [ebp - 0x60]
call fcn.100022f0
mov ebx, dword [ebp - 0x48]
lea edx, [ebp - 0x2c]
mov ecx, dword [ebx + 0x3c]
call fcn.1001c1c0
mov eax, dword [0x100df93c]
test eax, eax
jle 0x100375ff
push ecx
push eax
call fcn.10037410
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1003761b
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10002720
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov eax, dword [0x100df940]
mov dword [ebp - 0x14], eax
dec eax
cmp eax, 9
ja 0x100376d6
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x1003766d
push 4
push esi
call edi
test eax, eax
jne 0x1003766d
mov esi, dword [esi + 0x124]
test esi, esi
je 0x1003766d
push 4
push esi
call edi
test eax, eax
jne 0x1003766d
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x100c6870]
mov esi, dword [ebx + 0x44]
mov eax, dword [0x100df940]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10037690
push 4
push esi
call edi
test eax, eax
jne 0x10037690
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x100c6880]
movd xmm0, dword [0x100df940]
mov ecx, 0xd78d28
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x100c7e74]
movss dword [ebp - 0x14], xmm0
movss dword [0x100d6b98], xmm0
call fcn.1001c490
test eax, eax
je 0x100376d6
lea esi, [eax + 0x1b8]
push 4
push esi
call edi
test eax, eax
jne 0x100376d6
movss xmm0, dword [ebp - 0x14]
movss dword [esi], xmm0
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.1006e1c5
mov esp, ebp
pop ebp
ret