Function at 0x100ac7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x1015a380]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x1020f4b0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
push esi
push edi
mov edi, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [0x10219764]
mov dword [esp + 0x1c], esi
cmp eax, dword [esi + 4]
jle 0x100ac87b
push 0x10219764
call fcn.100d7b67
add esp, 4
cmp dword [0x10219764], 0xffffffff
jne 0x100ac87b
push 0x1021974c
mov ecx, 0x1020afd0
call fcn.1005cfd0
push 0x10134520
call fcn.100d7f00
add esp, 4
push 0x10219764
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10219748]
cmp eax, dword [esi + 4]
jle 0x100ac985
push 0x10219748
call fcn.100d7b67
add esp, 4
cmp dword [0x10219748], 0xffffffff
jne 0x100ac985
cmp byte [0x1020af58], 0
je 0x100ac90d
cmp byte [0x1020af59], 0
jne 0x100ac956
mov byte [0x1020af59], 1
xor esi, esi
xor edx, edx
mov eax, esi
xor eax, dword [0x1020afa0]
xor edx, dword [0x1020afa4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [esp + 0x10], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, ecx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1020af5a], al
inc esi
cmp esi, 0x41
jb 0x100ac8c5
jmp 0x100ac956
xor esi, esi
nop
xor edx, edx
mov eax, esi
xor eax, dword [0x1020afa0]
xor edx, dword [0x1020afa4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [esp + 0x10], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, ecx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1020af5a], al
inc esi
cmp esi, 0x41
jb 0x100ac910
push ecx
push 0x1020af9a
push 0x1020af5a
mov ecx, 0x10219768
call fcn.1004a5d0
push 0x101344c0
call fcn.100d7f00
add esp, 4
push 0x10219748
call fcn.100d7b16
add esp, 4
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x100ac9b2
push 0x3558
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100ae8f0
mov esi, dword [edi + 8]
lea eax, [esi + 0x3558]
mov dword [edi + 8], eax
jmp 0x100ac9bd
push esi
lea ecx, [edi + 4]
call fcn.100ae4a0
mov esi, eax
movd xmm0, dword [0x1020dbb8]
mov ecx, dword [0x1020f4ec]
cvtdq2ps xmm0, xmm0
push 0x34d0
mulss xmm0, dword [ecx + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
mov word [esi], 0
movss dword [esi + 0x10], xmm0
mov dword [esi + 4], 0xffffffff
movq xmm0, qword [0x1020dba8]
movq qword [esi + 0x20], xmm0
mov eax, dword [0x1020dbb0]
mov dword [esi + 0x28], eax
mov dword [esi + 8], 0xffffffff
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x44]
push dword [ecx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edi, eax
mov dword [esi + 0x1c], eax
shl edi, 4
lea ecx, [esi + 0x3518]
add edi, eax
movzx eax, byte [edi*4 + 0x1020dd38]
mov byte [esi + 0x3514], al
movzx eax, byte [edi*4 + 0x1020dd39]
mov byte [esi + 0x3515], al
lea eax, [edi*4 + 0x1020dd3c]
cmp ecx, eax
je 0x100aca82
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x100aca7b
mov eax, dword [eax]
push edx
push eax
call fcn.10046150
mov eax, dword [edi*4 + 0x1020dd54]
mov dword [esi + 0x3530], eax
mov eax, dword [edi*4 + 0x1020dd58]
mov dword [esi + 0x3534], eax
movups xmm0, xmmword [edi*4 + 0x1020dd5c]
movups xmmword [esi + 0x3538], xmm0
movq xmm0, qword [edi*4 + 0x1020dd6c]
movq qword [esi + 0x3548], xmm0
mov eax, dword [edi*4 + 0x1020dd74]
mov ecx, dword [edi*4 + 0x1020dd78]
mov edi, dword [esp + 0x18]
mov dword [esi + 0x3550], eax
mov dword [esi + 0x3554], ecx
movq xmm0, qword [edi + 0x1c]
movq qword [esi + 0x38], xmm0
mov eax, dword [edi + 0x24]
mov dword [esi + 0x40], eax
test byte [0x10213ab8], 4
je 0x100ad104
push 0x80
xorps xmm0, xmm0
lea eax, [esp + 0x114]
push 0
push eax
movlpd qword [esp + 0x10c], xmm0
movq qword [esp + 0x114], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x190], 0
xorps xmm0, xmm0
mov dword [esp + 0x1a4], 0
lea eax, [esp + 0x1bc]
mov dword [esp + 0x1b8], 0
movups xmmword [esp + 0x194], xmm0
push 0x80
push 0
push eax
movups xmmword [esp + 0x1b4], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 8
mov word [esp + 0x23c], 0
xorps xmm0, xmm0
mov byte [esp + 0x250], 0
movups xmmword [esp + 0x240], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x1020f55c]
lea edi, [esp + 0x100]
push edi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x110]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movaps xmmword [esp + 0x30], xmm0
lea edx, [ecx + 1]
mov dword [esp + 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100acbd5
sub ecx, edx
lea eax, [esp + 0x110]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10046bd0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xec]
call fcn.10045c20
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100acc39
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100acc2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100acc2f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7f1a
add esp, 8
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x10216f98]
cmp eax, dword [ecx + 4]
jle 0x100acc77
push 0x10216f98
call fcn.100d7b67
add esp, 4
cmp dword [0x10216f98], 0xffffffff
jne 0x100acc77
mov eax, dword [0x10216f6c]
push 0x10216f98
mov dword [0x10216fb4], eax
call fcn.100d7b16
add esp, 4
cmp byte [esi + 0x3514], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [eax + 0x2c]
mov eax, dword [0x10216fb4]
subss xmm0, dword [ecx + eax]
mov eax, dword [0x1020f4ec]
andps xmm0, xmmword [0x10156220]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10155b64]
cvttss2si eax, xmm0
mov dword [esp + 0x2c], eax
je 0x100acd15
mov edx, dword [0x1021975c]
add esi, 0x3518
mov eax, 0x7fffffff
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jb 0x100ad11a
cmp dword [0x10219760], 0xf
mov eax, 0x1021974c
cmova eax, dword [0x1021974c]
cmp dword [esi + 0x14], 0xf
jbe 0x100accf0
mov esi, dword [esi]
push ecx
push esi
push edx
push eax
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0xe8]
call fcn.100474b0
lea eax, [esp + 0xd0]
mov edi, 1
xor esi, esi
jmp 0x100acd3b
xor edi, edi
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
mov dword [esp + 0x44], 0xf
movaps xmmword [esp + 0x30], xmm0
lea eax, [esp + 0x30]
mov byte [esp + 0x30], 0
lea esi, [edi + 2]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
movss xmm0, dword [ecx + 0x14]
mulss xmm0, dword [0x10155d8c]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0xb8]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
call fcn.100b4940
cmp dword [0x1021977c], 0xf
lea ecx, [esp + 0x150]
mov dword [esp + 0x1c], eax
mov eax, 0x10219768
cmova eax, dword [0x10219768]
mov dword [esp + 0x20], eax
mov dword [esp + 0x100], 0x101550cc
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, [esp + 0x10c]
push eax
lea ecx, [esp + 0x10c]
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 [esp + 0x100]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x100], 0x10155054
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0xfc], eax
lea ecx, [esp + 0x104]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea eax, [esp + 0x58]
mov dword [esp + 0x104], 0x10155068
mov dword [esp + 0x50], eax
mov ecx, 6
mov dword [esp + 0x13c], 0
lea eax, [esp + 0x60]
mov dword [esp + 0x140], 4
mov dword [esp + 0x54], 6
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100ace23
push dword [esp + 0x54]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xec]
push dword [esp + 0x54]
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x108]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [esp + 0x64], 0x100aec70
mov dword [esp + 0x84], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], fcn.1006a960
mov dword [esp + 0x70], 0x100aec70
mov dword [esp + 0x74], fcn.1006a960
mov dword [esp + 0x7c], 0x100aee40
mov dword [esp + 0x80], 0x100af020
mov dword [esp + 0x88], 0x100aee40
mov dword [esp + 0x8c], 0x100af020
mov dword [esp + 0x94], 0x100aee40
mov dword [esp + 0x98], 0x100af020
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0x100aec70
mov dword [esp + 0xa4], fcn.1006a960
call fcn.100ac4b0
add esp, 8
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x100]
push eax
call fcn.10044ef0
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x100], 0x10155054
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0xfc], eax
lea ecx, [esp + 0x104]
call fcn.100456b0
lea ecx, [esp + 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [esp + 0xcc]
cmp ecx, 0xf
jbe 0x100acfae
mov edx, dword [esp + 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100acfa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad049
push ecx
push edx
call fcn.100d7f1a
add esp, 8
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0xf
mov byte [esp + 0xb8], 0
test esi, esi
je 0x100ad017
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100ad002
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100acff8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad049
push ecx
push edx
call fcn.100d7f1a
add esp, 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
mov byte [esp + 0x30], 0
test edi, edi
je 0x100ad059
mov ecx, dword [esp + 0xe4]
cmp ecx, 0xf
jbe 0x100ad059
mov edx, dword [esp + 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ad04f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ad04f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7f1a
add esp, 8
mov ecx, dword [0x10216c20]
lea eax, [esp + 0xa0]
push 1
push 0xffffffffffffffff
push eax
call fcn.100c8b90
mov ecx, dword [esp + 0xb4]
cmp ecx, 0xf
jbe 0x100ad0a8
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ad09e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad0f4
push ecx
push edx
call fcn.100d7f1a
add esp, 8
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xf
mov byte [esp + 0xa0], 0
cmp ecx, 0xf
jbe 0x100ad104
mov edx, dword [esp + 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ad0fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ad0fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7f1a
add esp, 8
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret 8
call fcn.1003bde0
int3