Function at 0x100bcb20
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 0x100e228f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d0
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
movaps xmm1, xmm2
movss dword [ebp - 0x258], xmm1
cmp dword [ebx + 0xc], 0
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1d4], 0
jle 0x100bd681
mov dword [ebp - 0x1c8], eax
xor ecx, ecx
mov eax, dword [0x101331f8]
add eax, 0xffffffc1
mov dword [ebp - 0x1cc], esi
mov esi, dword [0x100f20ac]
xor eax, 0xe282ef6d
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], ecx
movd xmm0, dword [eax + esi]
mov eax, dword [0x10133014]
cvtdq2ps xmm0, xmm0
mov word [ebp - 0x1ab], cx
mov byte [ebp - 0x1a9], cl
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x194], ecx
mov byte [ebp - 0x1ac], cl
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1a8], eax
mov eax, dword [esi]
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], ecx
lea ecx, [ebp - 0x1e8]
mov eax, dword [eax + 0x28c]
movss dword [ebp - 0x1c4], xmm0
movss xmm0, dword [0x100f3f84]
push ecx
mov ecx, esi
movss dword [ebp - 0x1c0], xmm0
movss dword [ebp - 0x1bc], xmm1
call eax
cmp dword [esi + 0x39e1], 0
je 0x100bcd95
mov eax, dword [0x1013314c]
mov edi, dword [esi + eax]
test edi, edi
je 0x100bcd95
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x100bcd95
cmp byte [edi + 0x109], 0
xorps xmm1, xmm1
jne 0x100bccc0
mov eax, dword [0x10133200]
add eax, 0xffffffbf
xor eax, 0xe282ef6f
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100bccc0
mov eax, dword [0x10133278]
add eax, 0xffffffa1
xor eax, 0xe282ef8d
mov eax, dword [eax + ecx]
mov ecx, dword [0x10132fbc]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x100bcd95
xorps xmm1, xmm1
mov ecx, dword [0x1013326c]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa4
xor ecx, 0xe282ef8a
mov eax, dword [ecx + eax]
test eax, eax
je 0x100bcd95
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x1e0]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100e6618]
comisd xmm0, xmm3
movsd qword [ebp - 0x20], xmm3
jbe 0x100bcd9d
subsd xmm0, xmm3
xorps xmm4, xmm4
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100e663c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100e65f0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x100bcd5f
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm2, dword [ebp - 0x1e0]
add esp, 8
movsd xmm3, qword [ebp - 0x20]
fstp dword [ebp - 0x18]
movss xmm4, dword [ebp - 0x18]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100e6630]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm2, xmm0
jmp 0x100bcd9d
movss xmm2, dword [ebp - 0x1e0]
movss xmm0, dword [ebp - 0x1e8]
mov esi, dword [ebp - 0x1d8]
movss dword [ebp - 0x1b8], xmm0
movss xmm0, dword [ebp - 0x1e4]
movss dword [ebp - 0x1b4], xmm0
movss dword [ebp - 0x1b0], xmm2
test esi, esi
je 0x100bd645
cmp dword [ebp - 0x1d4], 0
jne 0x100bd645
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x4e0
lea ecx, [ebp - 0x38]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push 0x100e558a
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
lea edi, [eax + 0x1011c78c]
call fcn.1002c3c0
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x38]
add eax, 0x430
mov dword [ebp - 4], 0
push eax
call fcn.1003d410
cmp byte [0x100f3fe8], 0
je 0x100bce8d
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ecx, dword [ebp - 0x28]
sub eax, ecx
push 6
push str.:awall
cmp eax, 6
jb 0x100bce76
cmp edx, 0xf
lea esi, [ebp - 0x38]
lea eax, [ecx + 6]
cmova esi, dword [ebp - 0x38]
add esi, ecx
mov dword [ebp - 0x28], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x100bce8d
mov byte [ebp - 0x23c], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0x23c]
push 6
call fcn.1003f0c0
mov eax, dword [ebp - 0x1d0]
cmp byte [eax + 0x3fc], 0
je 0x100bceea
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ecx, dword [ebp - 0x28]
sub eax, ecx
push 3
push 0x100e64a8
cmp eax, 3
jb 0x100bced3
cmp edx, 0xf
lea esi, [ebp - 0x38]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x38]
add esi, ecx
mov dword [ebp - 0x28], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
jmp 0x100bceea
mov byte [ebp - 0x240], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0x240]
push 3
call fcn.1003f0c0
push 0
push dword [0x100f7b54]
push dword [0x100f7b50]
call fcn.100d78a0
cmp eax, dword [0x100f7b54]
je 0x100bd5ef
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi]
mov esi, dword [0x100e5e5c]
add ecx, 8
cmp dword [ebp - 0x28], 0
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x10133b38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1d0]
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x18]
mov eax, dword [0x10133014]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100e65ac]
cvttss2si eax, xmm0
jne 0x100bd290
mov dword [ebp - 0x24c], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x248], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10132fb8]
mov edx, dword [ecx]
lea ecx, [ebp - 0x190]
push ecx
mov ecx, dword [0x10132fb8]
push eax
mov edx, dword [edx + 0x20]
call edx
movaps xmm0, xmmword [0x100e6a50]
lea ecx, [ebp - 0x180]
movaps xmm1, xmmword [0x100e70f0]
xor edx, edx
movups xmmword [ebp - 0x298], xmm0
test al, al
mov dword [ebp - 0x268], 0xfcf9e3ad
movaps xmm0, xmmword [0x100e6c50]
cmove ecx, edx
mov dword [ebp - 0x264], 0xd9d3f0b0
movups xmmword [ebp - 0x288], xmm0
xor eax, eax
mov dword [ebp - 0x244], ecx
movaps xmm0, xmmword [0x100e74f0]
movups xmmword [ebp - 0x278], xmm0
nop
movups xmm0, xmmword [ebp + eax - 0x298]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x298], xmm0
add eax, 0x10
cmp eax, 0x30
jb 0x100bcfe0
cmp eax, 0x38
jae 0x100bd00e
xor byte [ebp + eax - 0x298], 0xd9
inc eax
cmp eax, 0x38
jb 0x100bd000
push 0x98
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.10030250
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
mov dword [ebp - 0x230], eax
mov ecx, 5
mov dword [ebp - 0x22c], 5
lea eax, [ebp - 0x220]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100bd054
push dword [ebp - 0x22c]
lea eax, [ebp - 0x244]
mov dword [ebp - 0x224], 0x10030c70
push dword [ebp - 0x230]
mov dword [ebp - 0x228], eax
lea edx, [ebp - 0x298]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x1d0]
add eax, 0x74
mov dword [ebp - 0x220], fcn.10030c90
mov dword [ebp - 0x218], 0x10037640
mov dword [ebp - 0x214], fcn.10030c90
mov dword [ebp - 0x20c], 0x100bee70
mov dword [ebp - 0x208], 0x10037680
mov dword [ebp - 0x200], 0x10037660
mov dword [ebp - 0x1fc], 0x10037680
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], 0x100bf090
mov dword [ebp - 0x1f0], 0x100bf0b0
call fcn.1002dbd0
add esp, 8
lea eax, [ebp - 0x2e0]
lea ecx, [ebp - 0xcc]
push eax
call fcn.100304d0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], 0x100e5604
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xcc]
call fcn.1002ba20
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
lea edx, [ebp - 0x2e0]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x2c0]
call fcn.100305b0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [0x1013316c]
cmp ecx, dword [0x10133170]
je 0x100bd1f5
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 0x100bd1fc
push edx
push ecx
call fcn.10030a60
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x2bc]
test esi, esi
je 0x100bd22b
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100bd22b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100bd22b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x2e0]
mov ecx, esp
push eax
call fcn.10030300
push 0x100f20a0
call fcn.10035f80
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0xf
jbe 0x100bd5ef
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bd281
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bd67b
push ecx
push edx
call fcn.100d7f21
add esp, 8
jmp 0x100bd5ef
mov dword [ebp - 0x1dc], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x254], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10132fb8]
mov edx, dword [ecx]
lea ecx, [ebp - 0x190]
push ecx
mov ecx, dword [0x10132fb8]
push eax
mov edx, dword [edx + 0x20]
call edx
movaps xmm2, xmmword [0x100e70f0]
lea ecx, [ebp - 0x180]
movaps xmm0, xmmword [0x100e6a50]
xor edx, edx
movaps xmm1, xmmword [0x100e6c50]
test al, al
movaps xmm3, xmmword [0x100e74f0]
xorps xmm0, xmm2
movaps xmm4, xmmword [0x100e7380]
cmove ecx, edx
xorps xmm1, xmm2
mov dword [ebp - 0x250], ecx
xorps xmm3, xmm2
mov word [ebp - 0x260], 0xd9d3
xorps xmm4, xmm2
mov ecx, 0x40
movups xmmword [ebp - 0x2a0], xmm0
movups xmmword [ebp - 0x290], xmm1
movups xmmword [ebp - 0x280], xmm3
movups xmmword [ebp - 0x270], xmm4
nop dword [eax]
xor byte [ebp + ecx - 0x2a0], 0xd9
inc ecx
cmp ecx, 0x42
jb 0x100bd330
push 0x98
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.10030250
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
mov dword [ebp - 0x238], eax
mov ecx, 6
mov dword [ebp - 0x234], 6
lea eax, [ebp - 0x228]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100bd384
push dword [ebp - 0x234]
lea eax, [ebp - 0x250]
mov dword [ebp - 0x22c], 0x10030c70
push dword [ebp - 0x238]
mov dword [ebp - 0x230], eax
lea edx, [ebp - 0x2a0]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x1d0]
add eax, 0x74
mov dword [ebp - 0x228], fcn.10030c90
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x220], 0x10037640
mov dword [ebp - 0x21c], fcn.10030c90
mov dword [ebp - 0x214], 0x100bee70
mov dword [ebp - 0x210], 0x10037680
mov dword [ebp - 0x208], 0x10037660
mov dword [ebp - 0x204], 0x10037680
mov dword [ebp - 0x1fc], 0x100bf090
mov dword [ebp - 0x1f8], 0x100bf0b0
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], 0x10037640
mov dword [ebp - 0x1ec], fcn.10030c90
call fcn.1002dbd0
add esp, 8
lea eax, [ebp - 0x2b8]
lea ecx, [ebp - 0xcc]
push eax
call fcn.100304d0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], 0x100e5604
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xcc]
call fcn.1002ba20
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x41000000
push eax
lea edx, [ebp - 0x2b8]
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x2c8]
call fcn.100305b0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 6
mov ecx, dword [0x1013316c]
cmp ecx, dword [0x10133170]
je 0x100bd542
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 0x100bd549
push edx
push ecx
call fcn.10030a60
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x2c4]
test esi, esi
je 0x100bd578
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100bd578
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100bd578
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x2b8]
mov ecx, esp
push eax
call fcn.10030300
push 0x100f20a0
call fcn.10035f80
mov byte [ebp - 4], 0
add esp, 0x1c
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 0xf
jbe 0x100bd5d4
mov edx, dword [ebp - 0x2b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bd5ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bd67b
push ecx
push edx
call fcn.100d7f21
add esp, 8
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
test edi, edi
je 0x100bd5f6
inc dword [edi + 0x28]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100bd62d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bd623
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bd67b
push ecx
push edx
call fcn.100d7f21
add esp, 8
mov esi, dword [ebp - 0x1d8]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x1cc]
mov ecx, 0x10133bf8
push eax
call fcn.100be370
mov eax, dword [ebp - 0x1d4]
inc eax
mov dword [ebp - 0x1d4], eax
cmp eax, dword [ebx + 0xc]
jge 0x100bd681
movss xmm1, dword [ebp - 0x258]
mov eax, dword [ebp - 0x1d0]
jmp 0x100bcb92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [0x10133c08]
cmp eax, 0x40
jbe 0x100bd6ab
nop dword [eax + eax]
add eax, 0xffffffff
mov dword [0x10133c08], eax
je 0x100bd6a1
cmp eax, 0x40
ja 0x100bd690
jmp 0x100bd6ab
mov dword [0x10133c04], 0
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 0x10