Function at 0x100bd6d0
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 0x100e2304
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100f20b0], 0
mov dword [ebp - 0x1b8], 0
je 0x100be172
cmp dword [0x10133c08], 0
je 0x100be185
mov edx, dword [0x10133c04]
mov esi, dword [0x10133bf8]
movss xmm2, dword [0x100e65d4]
nop dword [eax]
mov eax, dword [0x10133c04]
add eax, dword [0x10133c08]
cmp edx, eax
je 0x100bd7db
test esi, esi
je 0x100bd767
mov eax, dword [esi]
jmp 0x100bd769
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
lea ecx, [edx + 1]
movss xmm1, dword [eax + 8]
mov eax, dword [0x10133014]
addss xmm1, xmm2
movss xmm0, dword [eax + 0x10]
comiss xmm0, xmm1
jbe 0x100bd7d4
sub esp, 0xc
mov eax, esp
sub esp, 0xc
mov dword [eax + 8], ecx
mov ecx, 0x10133bf8
mov dword [eax + 4], 0
mov dword [eax], esi
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], esi
mov dword [eax + 8], edx
lea eax, [ebp - 0x1c4]
push eax
call fcn.100be4b0
mov esi, dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x1bc]
jmp 0x100bd750
mov edx, ecx
jmp 0x100bd750
mov edx, dword [0x10133c04]
mov edi, dword [0x10133bf8]
mov dword [ebp - 0x194], edx
nop dword [eax]
mov eax, dword [0x10133c04]
add eax, dword [0x10133c08]
cmp edx, eax
je 0x100be185
test edi, edi
je 0x100bd80b
mov eax, dword [edi]
jmp 0x100bd80d
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0x28], 0
je 0x100be134
test edi, edi
je 0x100bd82b
mov eax, dword [edi]
jmp 0x100bd82d
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0x38], 0
jne 0x100be134
test edi, edi
je 0x100bd84b
mov eax, dword [edi]
jmp 0x100bd84d
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0x39], 0
je 0x100be134
test edi, edi
je 0x100bd86b
mov eax, dword [edi]
jmp 0x100bd86d
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x100bd8c9
sub esp, 0xc
lea eax, [edx + 1]
mov ecx, esp
sub esp, 0xc
mov dword [ecx + 8], eax
mov eax, esp
mov dword [ecx + 4], 0
mov dword [ecx], edi
mov ecx, 0x10133bf8
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 8], edx
lea eax, [ebp - 0x20c]
push eax
call fcn.100be4b0
mov edi, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x204]
jmp 0x100bd7e7
mov eax, dword [0x101331cc]
add eax, 0xffffffcc
xor eax, 0xe282ef62
cmp dword [eax + ecx], 0
je 0x100bd923
sub esp, 0xc
lea eax, [edx + 1]
mov ecx, esp
sub esp, 0xc
mov dword [ecx + 8], eax
mov eax, esp
mov dword [ecx + 4], 0
mov dword [ecx], edi
mov ecx, 0x10133bf8
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 8], edx
lea eax, [ebp - 0x218]
push eax
call fcn.100be4b0
mov edi, dword [ebp - 0x218]
mov edx, dword [ebp - 0x210]
jmp 0x100bd7e7
mov eax, dword [ecx + 8]
lea esi, [ecx + 8]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x4e0
lea eax, [eax + 0x1011c78c]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100bd990
mov edx, dword [ebp - 0x194]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
lea eax, [edx + 1]
mov dword [ecx + 8], eax
mov eax, esp
mov dword [ecx + 4], 0
mov dword [ecx], edi
mov ecx, 0x10133bf8
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 8], edx
lea eax, [ebp - 0x224]
push eax
call fcn.100be4b0
mov edi, dword [ebp - 0x224]
mov edx, dword [ebp - 0x21c]
jmp 0x100bd7e7
test edi, edi
je 0x100bd998
mov eax, dword [edi]
jmp 0x100bd99a
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x194]
dec ecx
mov eax, dword [eax + 4]
and ecx, edx
mov eax, dword [eax + ecx*4]
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
movq qword [ebp - 0x1f0], xmm0
movq qword [ebp - 0x1e8], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1e0], eax
test edi, edi
je 0x100bd9d5
mov eax, dword [edi]
jmp 0x100bd9d7
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
movss xmm7, dword [eax + 0x2c]
movss xmm6, dword [eax + 0x30]
subss xmm7, dword [ebp - 0x1e8]
subss xmm6, dword [ebp - 0x1e4]
movss xmm4, dword [eax + 0x34]
subss xmm4, dword [ebp - 0x1e0]
movaps xmm0, xmm7
movaps xmm1, xmm6
mulss xmm0, xmm7
mulss xmm1, xmm6
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.10022700
addss xmm0, dword [0x100e6500]
movss xmm1, dword [0x100e6754]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
divss xmm7, xmm0
divss xmm6, xmm0
divss xmm4, xmm0
mulss xmm7, xmm1
xorps xmm0, xmm0
mulss xmm6, xmm1
addss xmm7, dword [ebp - 0x1e8]
mulss xmm4, xmm1
addss xmm6, dword [ebp - 0x1e4]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x38], 0
addss xmm4, dword [ebp - 0x1e0]
movss dword [ebp - 0x1c4], xmm7
movss dword [ebp - 0x1c0], xmm6
movss dword [ebp - 0x1bc], xmm4
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10132fb8]
lea esi, [ebp - 0x190]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x100be13a
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x19c], 0
movups xmmword [ebp - 0x1b0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bdaf1
sub ecx, edx
lea eax, [ebp - 0x180]
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.1002c3c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1b0]
mov ecx, 0x18
mov dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1a0], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x1dc], xmm0
cmovb ecx, dword [ebp - 0x1a0]
cmp dword [ebp - 0x19c], 0xf
push ecx
cmova eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1dc]
push eax
mov dword [ebp - 0x1c8], 0
call fcn.1002c3c0
or dword [ebp - 0x1b8], 1
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x38]
call fcn.1003d4a0
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x100bdbb2
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bdba8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100be160
push ecx
push edx
call fcn.100d7f21
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0xf
jbe 0x100bdbf0
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bdbe6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100be160
push ecx
push edx
call fcn.100d7f21
add esp, 8
cmp dword [0x10104d74], 0
jne 0x100bdeb4
test edi, edi
je 0x100bdc05
mov eax, dword [edi]
jmp 0x100bdc07
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x194]
dec ecx
mov eax, dword [eax + 4]
and ecx, edx
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x24]
test edi, edi
je 0x100bdc24
mov eax, dword [edi]
jmp 0x100bdc26
xor eax, eax
mov ecx, dword [eax + 8]
sub esp, 8
mov eax, dword [eax + 4]
dec ecx
movq xmm0, qword [ebp - 0x1c4]
and ecx, edx
push esi
mov eax, dword [eax + ecx*4]
push dword [eax + 4]
mov eax, dword [ebp - 0x1bc]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x1f0]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.10023ae0
test al, al
jne 0x100bdeb4
push 1
push dword [0x101045a0]
push dword [0x1010459c]
call fcn.100d78a0
cmp eax, dword [0x101045a0]
je 0x100bde0e
push 1
push dword [0x100f7b54]
push dword [0x100f7b50]
call fcn.100d78a0
cmp eax, dword [0x100f7b54]
je 0x100bde0e
movaps xmm0, xmmword [0x100e70f0]
mov eax, 0x10
xorps xmm0, xmmword [0x100e6c60]
mov esi, dword [0x100e5e5c]
mov dword [ebp - 0x1a0], 0xaba9aaf9
mov dword [ebp - 0x19c], 0xd3bdb8bc
mov byte [ebp - 0x198], 0xd9
movups xmmword [ebp - 0x1b0], xmm0
xor byte [ebp + eax - 0x1b0], 0xd9
inc eax
cmp eax, 0x19
jb 0x100bdcf0
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x1b0]
lea ecx, [ebp - 0x1dc]
call fcn.10036a90
add esp, 4
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x41000000
push ecx
mov edx, eax
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x1f8]
call fcn.100305b0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [0x1013316c]
cmp ecx, dword [0x10133170]
je 0x100bdd80
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013316c], 8
jmp 0x100bdd87
push edx
push ecx
call fcn.10030a60
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1f4]
test esi, esi
je 0x100bddb6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100bddb6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100bddb6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x20]
call fcn.10030300
push 0x100f20a0
call fcn.10035f80
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x100bde0e
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bde04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100be160
push ecx
push edx
call fcn.100d7f21
add esp, 8
mov edx, dword [ebp - 0x194]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
lea eax, [edx + 1]
mov dword [ecx + 8], eax
mov eax, esp
mov dword [ecx + 4], 0
mov dword [ecx], edi
mov ecx, 0x10133bf8
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 8], edx
lea eax, [ebp - 0x230]
push eax
call fcn.100be4b0
mov edx, dword [ebp - 0x228]
mov edi, dword [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x194], edx
cmp ecx, 0xf
jbe 0x100bde9d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bde8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100be160
push ecx
push edx
call fcn.100d7f21
mov edx, dword [ebp - 0x194]
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
jmp 0x100bd7f0
mov eax, dword [0x101331d0]
mov ecx, dword [ebp - 0x20]
add eax, 0xffffffcb
xor eax, 0xe282ef63
test byte [eax + ecx], 1
mov ecx, dword [ebp - 0x18]
je 0x100bded2
inc dword [ecx + 0x2c]
jmp 0x100bded5
inc dword [ecx + 0x30]
cmp dword [ecx + 0x2c], 5
jle 0x100bdee2
mov dword [ecx + 0x2c], 0
push 1
push dword [0x101045a0]
push dword [0x1010459c]
call fcn.100d78a0
cmp eax, dword [0x101045a0]
je 0x100be08e
push 1
push dword [0x100f7b54]
push dword [0x100f7b50]
call fcn.100d78a0
cmp eax, dword [0x100f7b54]
je 0x100be08e
movaps xmm0, xmmword [0x100e70f0]
mov eax, 0x10
xorps xmm0, xmmword [0x100e6c60]
mov esi, dword [0x100e5e5c]
mov dword [ebp - 0x1a4], 0xbdb8bbf9
mov dword [ebp - 0x1a0], 0xaabcabf9
mov dword [ebp - 0x19c], 0xbcafb5b6
mov word [ebp - 0x198], 0xd9d3
movups xmmword [ebp - 0x1b4], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x1b4], 0xd9
inc eax
cmp eax, 0x1e
jb 0x100bdf70
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x1dc]
call fcn.10036a90
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0x41000000
push ecx
mov edx, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x200]
call fcn.100305b0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [0x1013316c]
cmp ecx, dword [0x10133170]
je 0x100be000
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x1013316c], 8
jmp 0x100be007
push edx
push ecx
call fcn.10030a60
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1fc]
test esi, esi
je 0x100be036
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100be036
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100be036
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x18]
call fcn.10030300
push 0x100f20a0
call fcn.10035f80
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x100be08e
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100be084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100be160
push ecx
push edx
call fcn.100d7f21
add esp, 8
mov edx, dword [ebp - 0x194]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
lea eax, [edx + 1]
mov dword [ecx + 8], eax
mov eax, esp
mov dword [ecx + 4], 0
mov dword [ecx], edi
mov ecx, 0x10133bf8
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 8], edx
lea eax, [ebp - 0x23c]
push eax
call fcn.100be4b0
mov edx, dword [ebp - 0x234]
mov edi, dword [ebp - 0x23c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x194], edx
cmp ecx, 0xf
jbe 0x100bde9d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100be10d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100be160
push ecx
push edx
call fcn.100d7f21
mov edx, dword [ebp - 0x194]
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
jmp 0x100bd7f0
inc edx
jmp 0x100bd7e7
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100be185
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100be166
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100be166
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7f21
add esp, 8
jmp 0x100be185
cmp dword [0x10133c08], 0
je 0x100be185
mov ecx, 0x10133bf8
call fcn.100be420
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.100d7aa6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret