Function at 0x100cbc60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x10273240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x21c], eax
mov eax, dword [0x1027c958]
mov dword [ebp - 0x220], ebx
push edi
mov edi, ecx
test al, 1
jne 0x100cbd83
or eax, 1
cmp byte [0x1026e338], 0
mov dword [0x1027c958], eax
je 0x100cbd07
cmp byte [0x1026e339], 0
jne 0x100cbd5b
mov byte [0x1026e339], 1
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x1026e36c]
xor ebx, dword [0x1026e368]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x228], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1026e33a], al
inc esi
cmp esi, 0x2c
jb 0x100cbcc0
jmp 0x100cbd55
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1026e36c]
xor ebx, dword [0x1026e368]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x228], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1026e33a], al
inc esi
cmp esi, 0x2c
jb 0x100cbd10
mov ebx, dword [ebp - 0x220]
lea eax, [ebp - 0x221]
mov ecx, 0x1027c940
push eax
push 0x1026e365
push 0x1026e33a
call fcn.1004f9c0
push 0x10168970
call fcn.10106b3d
add esp, 4
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
je 0x100cbdb0
push 0xe960
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100cb410
mov esi, dword [edi + 0xc]
lea eax, [esi + 0xe960]
mov dword [edi + 0xc], eax
jmp 0x100cbdbb
push esi
lea ecx, [edi + 8]
call fcn.100caf40
mov esi, eax
push dword [0x101ac020]
call fcn.100651a0
fstp dword [esi + 0x14]
mov dword [esi + 0x18], 0
mov word [esi], 0
mov dword [esi + 8], 0xffffffff
mov eax, dword [ebx + 0x10]
mov dword [esi + 4], eax
movq xmm0, qword [0x101ac0f8]
movq qword [esi + 0x24], xmm0
mov eax, dword [0x101ac100]
mov dword [esi + 0x2c], eax
mov dword [esi + 0xc], 0xffffffff
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x48]
push 0xe8b8
push dword [ebx + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x21c]
add esp, 0x10
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
call dword [eax + 0x28]
mov dword [esi + 0x20], eax
movq xmm0, qword [ebx + 0x30]
movq qword [esi + 0x3c], xmm0
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x44], eax
test byte [0x102669bc], 4
je 0x100cc3b0
push 0x80
xorps xmm0, xmm0
lea eax, [ebp - 0x208]
push 0
push eax
movlpd qword [ebp - 0x218], xmm0
movq qword [ebp - 0x210], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x80
xorps xmm0, xmm0
mov dword [ebp - 0x188], 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x174], 0
push 0
push eax
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x160], 0
movups xmmword [ebp - 0x170], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
add esp, 0x18
mov word [ebp - 0xdc], 0
xorps xmm0, xmm0
mov byte [ebp - 0xc8], 0
movups xmmword [ebp - 0xd8], xmm0
call dword [eax + 0x28]
mov ecx, dword [0x10274040]
lea esi, [ebp - 0x218]
push esi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x208]
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cbf10
sub ecx, edx
lea eax, [ebp - 0x208]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10043ed0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10044e20
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x100cbf6b
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cbf61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cbf61
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov edi, dword [ebp - 0x24]
cmp edi, 0x14
jbe 0x100cc007
cmp dword [ebp - 0x20], 0xf
lea esi, [edi - 0x14]
lea edx, [ebp - 0x34]
cmova edx, dword [ebp - 0x34]
sub edi, esi
add edx, 0x14
lea ecx, [edi - 0x13]
push ecx
lea eax, [edx + esi]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x1c]
mov ecx, 0x1026bc70
push eax
call fcn.1006dcb0
cmp dword [ebp - 8], 0xf
lea edx, [ebp - 0x1c]
cmova edx, dword [ebp - 0x1c]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cbfc0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.10046d10
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x100cc007
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cbffd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc3a0
push ecx
push edx
call fcn.1010682a
add esp, 8
mov eax, dword [0x102748e0]
test al, 1
jne 0x100cc026
mov ecx, dword [0x10274854]
or eax, 1
mov dword [0x102748e0], eax
mov dword [0x102748dc], ecx
jmp 0x100cc02c
mov ecx, dword [0x102748dc]
mov eax, dword [ebx + 0x2c]
sub esp, 8
movss xmm0, dword [eax + 0x28]
mov eax, dword [ebp - 0x21c]
subss xmm0, dword [eax + ecx]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
add esp, 4
fstp dword [ebp - 0x21c]
movss xmm0, dword [ebp - 0x21c]
movss dword [esp], xmm0
call fcn.100651c0
push eax
mov dword [ebp - 0x220], eax
call fcn.100651a0
movss xmm0, dword [ebx + 0x24]
mulss xmm0, dword [0x1016a6a8]
push dword [ebx + 8]
fstp dword [ebp - 0x21c]
cvttss2si eax, dword [ebp - 0x21c]
mov dword [ebp - 0x228], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100d9a80
add esp, 0x10
mov dword [ebp - 0x158], 0x1016eff0
cmp dword [0x1027c954], 0xf
lea ecx, [ebp - 0x108]
mov esi, 0x1027c940
mov edi, eax
cmova esi, dword [0x1027c940]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x158], 0x1016efec
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x154], 0x1016ecd0
mov dword [ebp - 0xa8], eax
mov ecx, 7
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x118], 4
mov dword [ebp - 0xa4], 7
nop word [eax + eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100cc170
push dword [ebp - 0xa4]
mov dword [ebp - 0xc], 0x100ae190
lea eax, [ebp - 0x34]
push dword [ebp - 0xa8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x21c]
movq xmm0, qword [ebp - 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0x100ae190
movq xmm0, qword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0xc]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0xc], 0x100adfd0
movq xmm0, qword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x220]
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0xc], 0x100adfd0
movq xmm0, qword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x228]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0xc], 0x100adfd0
movq xmm0, qword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0xc], 0x100adfd0
movq xmm0, qword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x158]
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0xc], 0x100adfd0
movq xmm0, qword [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x98], fcn.1007b9e0
mov dword [ebp - 0x8c], fcn.1007b9e0
mov dword [ebp - 0x80], 0x100ae340
mov dword [ebp - 0x74], 0x100ae340
mov dword [ebp - 0x68], 0x100ae340
mov dword [ebp - 0x5c], 0x100ae340
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 0x100ae340
call fcn.100acfb0
add esp, 0x10
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x158]
push eax
call fcn.1004db20
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x158], 0x1016efec
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x154]
call fcn.100453b0
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xac]
cmp ecx, 0xf
jbe 0x100cc325
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cc31b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cc31b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov ecx, dword [0x10278314]
lea eax, [ebp - 0x4c]
push 1
push 0xffffffffffffffff
push eax
call fcn.100f6880
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x100cc368
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cc35e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc3a0
push ecx
push edx
call fcn.1010682a
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x100cc3b0
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cc3a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cc3a6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10106b52
mov esp, ebp
pop ebp
ret 8