Function at 0x10036ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005612b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x10069018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, word [edi + 0xf6]
xor ecx, ecx
movaps xmm0, xmmword [0x10062570]
push eax
movzx eax, word [edi + 0xf4]
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x51101a
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x10036b11
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10036b3f
mov eax, dword [edx]
jmp 0x10036b41
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x10036b4e
xor ecx, ecx
jmp 0x10036b5d
lea ecx, [ebp - 0x23]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036b54
sub ecx, esi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x80]
push eax
call fcn.1000b410
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x10036b86
mov edx, dword [edx]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp byte [edx], 0
jne 0x10036ba1
xor ecx, ecx
jmp 0x10036baf
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036ba6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.100048e0
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10036bdf
push 4
push esi
call ebx
test eax, eax
jne 0x10036bdf
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call dword [0x10061534]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10036bf1
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x10036c1c
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100047b0
movzx eax, word [edi + 0xf8]
test ax, ax
jne 0x10036cb6
mov cl, 0x51
mov byte [ebp - 0xe], 0
mov al, 0x7c
mov byte [ebp - 0x10], cl
xor al, cl
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xf], al
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x10036c58
xor ecx, ecx
jmp 0x10036c69
lea ecx, [ebp - 0xf]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036c60
sub ecx, edx
push ecx
lea eax, [ebp - 0xf]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100048e0
mov dword [ebp - 4], 2
mov esi, dword [edi + 0x54]
test esi, esi
je 0x10036c99
push 4
push esi
call ebx
test eax, eax
jne 0x10036c99
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call dword [0x10061534]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10036de2
inc eax
push eax
push dword [ebp - 0x3c]
jmp 0x10036ddd
push eax
mov cl, 0x47
mov dword [ebp - 0x20], 0x242e1347
mov dword [ebp - 0x1c], 0x7d33222c
xor eax, eax
mov dword [ebp - 0x18], 0x23626467
mov byte [ebp - 0x14], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xb
jae 0x10036ce3
mov cl, byte [ebp - 0x20]
jmp 0x10036cd4
sub esp, 0x18
mov byte [ebp - 0x14], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10036d04
mov eax, dword [edx]
jmp 0x10036d06
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x10036d13
xor ecx, ecx
jmp 0x10036d29
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036d20
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x80]
push eax
call fcn.1000b410
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
jb 0x10036d52
mov edx, dword [edx]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp byte [edx], 0
jne 0x10036d6d
xor ecx, ecx
jmp 0x10036d7b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036d72
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.100048e0
mov byte [ebp - 4], 4
mov esi, dword [edi + 0x54]
test esi, esi
je 0x10036da5
push 4
push esi
call ebx
test eax, eax
jne 0x10036da5
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call dword [0x10061534]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10036db7
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x10036de2
inc eax
push eax
push dword [ebp - 0x80]
call fcn.100047b0
movzx eax, word [edi + 0xf4]
sub esp, 8
movss xmm1, dword [0x10061a00]
xor ecx, ecx
mov byte [ebp - 0x40], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
movaps xmm0, xmmword [0x10062990]
movups xmmword [ebp - 0x50], xmm0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0xf
jb 0x10036e18
sub esp, 0x18
mov byte [ebp - 0x40], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10036e46
mov eax, dword [edx]
jmp 0x10036e48
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x4f], 0
jne 0x10036e55
xor ecx, ecx
jmp 0x10036e69
lea ecx, [ebp - 0x4f]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036e60
sub ecx, esi
push ecx
lea eax, [ebp - 0x4f]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x98]
push eax
call fcn.1000b410
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 5
cmp dword [edx + 0x14], 0x10
jb 0x10036e95
mov edx, dword [edx]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10036eb0
xor ecx, ecx
jmp 0x10036ebe
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036eb5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100048e0
mov byte [ebp - 4], 6
mov esi, dword [edi + 0x58]
test esi, esi
je 0x10036ee8
push 4
push esi
call ebx
test eax, eax
jne 0x10036ee8
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call dword [0x10061534]
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x10036efa
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100047b0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x10036f24
inc eax
push eax
push dword [ebp - 0x98]
call fcn.100047b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret