Function at 0x100d6db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e40bd
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x100f300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xf
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 1
mov ebx, dword [0x102dc804]
mov esi, ebx
mov eax, dword [0x102dc808]
mov dword [ebp - 0x14c], eax
cmp esi, eax
je 0x100d6e3c
nop
cmp dword [esi], 0
je 0x100d6e3c
add esi, 4
cmp esi, eax
jne 0x100d6e30
cmp ebx, eax
je 0x100d6e4c
cmp dword [ebx], 1
je 0x100d6e4c
add ebx, 4
cmp ebx, eax
jne 0x100d6e40
cmp esi, eax
jne 0x100d6e58
cmp ebx, eax
je 0x100d78c3
cmp byte [0x102ecabc], 0
je 0x100d78c3
mov ecx, dword [0x102d3008]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x102ecac8]
movss xmm1, dword [0x102ecacc]
movss xmm2, dword [0x102ecad0]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
subss xmm2, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.1001c120
movss xmm1, dword [0x102ecadc]
mulss xmm1, dword [0x100e8320]
mulss xmm0, xmm0
mulss xmm1, dword [0x102ecadc]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x102e7c0c]
movaps xmm5, xmm0
mov eax, dword [0x102d3008]
add ecx, 0xffffffb2
mulss xmm5, dword [0x102ecad4]
xor ecx, 0x6c0237cf
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100d6f33
movaps xmm2, xmm5
movd xmm0, eax
mulss xmm2, dword [0x100e8090]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100e8090]
comiss xmm1, xmm0
jbe 0x100d6f30
addss xmm0, xmm0
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm5, xmm2
movss xmm3, dword [0x100e82f8]
movaps xmm0, xmm5
movss xmm2, dword [0x100e82ec]
andps xmm3, xmm5
xorps xmm0, xmm3
movss xmm4, dword [0x100e80c8]
cmpltss xmm0, xmm2
mov dword [ebp - 0x134], 0x66322e25
movaps xmm1, xmm5
mov byte [ebp - 0x130], 0
xor eax, eax
push 0x98
push 0
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm5
cmpnless xmm0, xmm3
andps xmm0, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x102ecac4]
cvttss2si ecx, xmm1
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x12c], eax
mov eax, dword [0x102e7a04]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x128]
push eax
movss dword [ebp - 0x14], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.10026530
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 1
call fcn.1001c780
push dword [ebp - 0x174]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x180], 0x10041f00
push dword [ebp - 0x178]
mov dword [ebp - 0x184], eax
lea edx, [ebp - 0x134]
movq xmm0, qword [ebp - 0x184]
lea ecx, [ebp - 0x128]
movq qword [ebp - 0x170], xmm0
mov dword [ebp - 0x168], 0x10042090
call fcn.10024230
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x124]
push eax
call fcn.10026790
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100e6734
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x124]
call fcn.100223b0
lea ecx, [ebp - 0x120]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.100347b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100d70e4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d70da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d70da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
lea eax, [ebp - 0x12c]
mov word [ebp - 0x144], 0x6925
push eax
lea edx, [ebp - 0x144]
mov byte [ebp - 0x142], 0
lea ecx, [ebp - 0x2c]
call fcn.100afb90
add esp, 4
lea ecx, [ebp - 0x5c]
push eax
call fcn.100347b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100d714b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7141
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d7141
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
mov edx, dword [0x102e7bb0]
mov eax, dword [0x102d3008]
add edx, 0xffffffc9
mov ecx, dword [ebp - 0x12c]
xor edx, 0x6c0237b8
mov edi, dword [0x102e70dc]
cmp ecx, dword [edx + eax]
lea edx, [ebp - 0x180]
mov ecx, 0x102ecac8
cmovl edi, dword [0x102e6224]
mov dword [ebp - 0x144], edi
call fcn.100cb2b0
cmp dword [0x102ecb00], 0x10
mov edx, 0x102ecaec
mov byte [ebp - 0x145], al
cmovae edx, dword [0x102ecaec]
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d71c8
sub ecx, dword [ebp - 0x134]
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.100227d0
xorps xmm1, xmm1
mov byte [ebp - 4], 3
cmp esi, dword [ebp - 0x14c]
je 0x100d77c2
mov ecx, 1
mov dword [ebp - 0x164], 0
cmp dword [ebp - 0x34], ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x154], 0
cmovb ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x164]
push eax
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
call fcn.100227d0
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x140], 0x4095a0c
mov dword [ebp - 0x13c], 0x18070c09
mov word [ebp - 0x138], 0x5a4f
mov byte [ebp - 0x136], 0x29
nop word [eax + eax]
xor byte [ebp + eax - 0x140], 0x29
inc eax
cmp eax, 0xb
jb 0x100d7270
push 0x98
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.10026530
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1a4], eax
mov esi, eax
mov dword [ebp - 0x1a0], 2
mov edi, 2
mov ecx, esi
call fcn.1001c780
add esi, 0xc
sub edi, 1
jne 0x100d72c0
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x164]
mov dword [ebp - 0x16c], 0x10041d80
push dword [ebp - 0x1a4]
mov dword [ebp - 0x170], eax
lea edx, [ebp - 0x140]
movq xmm0, qword [ebp - 0x170]
lea eax, [ebp - 0x14]
movq qword [ebp - 0x19c], xmm0
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], 0x10041f00
movq xmm0, qword [ebp - 0x170]
mov dword [ebp - 0x194], fcn.10026bc0
movq qword [ebp - 0x190], xmm0
mov dword [ebp - 0x188], 0x10042090
call fcn.10024230
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x124]
push eax
call fcn.10026790
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100e6734
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x124]
call fcn.100223b0
lea ecx, [ebp - 0x120]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x150]
mov edi, dword [ebp - 0x144]
cmp ecx, 0x10
jb 0x100d73eb
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d73e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d73e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x154], 0
push eax
lea edx, [ebp - 0x144]
mov dword [ebp - 0x150], 0xf
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x164], 0
mov word [ebp - 0x144], 0x6925
mov byte [ebp - 0x142], 0
call fcn.100afb90
add esp, 4
mov byte [ebp - 4], 8
movss xmm0, dword [0x100e81c8]
comiss xmm0, dword [ebp - 0x14]
mov dword [ebp - 0x134], 0xff0aac87
jbe 0x100d7457
mov dword [ebp - 0x134], 0xff6ec8c8
movss xmm0, dword [0x100e81b0]
comiss xmm0, dword [ebp - 0x14]
mov esi, dword [ebp - 0x134]
jbe 0x100d747b
mov dword [ebp - 0x134], 0xff1120c0
mov esi, dword [ebp - 0x134]
cmp byte [0x102ecabc], 0
je 0x100d7739
cmp byte [0x102eca99], 0
jne 0x100d7739
cmp byte [0x102eca9a], 0
jne 0x100d7739
movss xmm0, dword [ebp - 0x14]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100d74e1
push 0
lea eax, [ebp - 0x2c]
push eax
push ecx
mov eax, esp
mov ecx, 0x102ea328
push 0xb
push 6
mov dword [eax], 0x7d000000
call fcn.100cb990
push 0
lea eax, [ebp - 0x2c]
mov ecx, 0x102ea328
push eax
push esi
push 0xa
push 5
call fcn.100cb990
mov ecx, dword [0x102e7bb0]
mov eax, dword [0x102d3008]
add ecx, 0xffffffc9
mov edx, dword [ebp - 0x12c]
xor ecx, 0x6c0237b8
cmp dword [ecx + eax], edx
jg 0x100d760a
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x41544146
lea ecx, [ebp - 0x164]
mov word [ebp - 0x138], 0x4c
call fcn.100245f0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 9
push 0x1f
push 6
mov ecx, 0x102ea328
mov dword [eax], 0x7d000000
call fcn.100cb990
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x150]
cmp ecx, 0x10
jb 0x100d7586
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d757c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d757c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x41544146
lea ecx, [ebp - 0x164]
mov word [ebp - 0x138], 0x4c
call fcn.100245f0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xa
push 0x1e
push 5
mov ecx, 0x102ea328
mov dword [eax], 0xff1120c0
call fcn.100cb990
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x150]
cmp ecx, 0x10
jb 0x100d7739
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d772f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d772f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edx, 1
jle 0x100d7739
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x13c], 0x6925202d
push eax
lea edx, [ebp - 0x13c]
mov word [ebp - 0x138], 0x5048
lea ecx, [ebp - 0x164]
mov byte [ebp - 0x136], 0
call fcn.100411d0
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xb
push 0x1f
push 5
mov ecx, 0x102ea328
mov dword [eax], 0x7d000000
call fcn.100cb990
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x150]
cmp ecx, 0x10
jb 0x100d76a6
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d769c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d769c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x13c], 0x6925202d
push eax
lea edx, [ebp - 0x13c]
mov word [ebp - 0x138], 0x5048
lea ecx, [ebp - 0x164]
mov byte [ebp - 0x136], 0
call fcn.100411d0
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xc
push 0x1e
push 6
mov ecx, 0x102ea328
mov dword [eax], 0xff98ffff
call fcn.100cb990
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x150]
cmp ecx, 0x10
jb 0x100d7739
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d772f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d772f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x78]
cmp ecx, 0x10
jb 0x100d7770
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7766
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d77af
push ecx
push edx
call fcn.100da479
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0x10
jb 0x100d77bf
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d77b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d77b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
xorps xmm1, xmm1
cmp ebx, dword [ebp - 0x14c]
je 0x100d7860
cmp byte [ebp - 0x145], 0
je 0x100d7860
movss xmm0, dword [ebp - 0x14]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x17c]
movss xmm1, dword [ebp - 0x180]
jbe 0x100d7825
push 2
lea eax, [ebp - 0x74]
mov ecx, 0x102ea2ec
push eax
push dword [0x102e6224]
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
call fcn.100cb990
movss xmm0, dword [ebp - 0x17c]
movss xmm1, dword [ebp - 0x180]
mov ecx, dword [0x102e7ba4]
mov eax, dword [0x102d3008]
add ecx, 0xffffffcc
xor ecx, 0x6c0237b5
cmp dword [ecx + eax], 0
jne 0x100d7860
push 2
lea eax, [ebp - 0x5c]
mov ecx, 0x102ea2ec
push eax
cvttss2si eax, xmm0
push edi
add eax, dword [0x102ea2f4]
push eax
cvttss2si eax, xmm1
push eax
call fcn.100cb990
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x100d7890
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7886
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d78f8
push ecx
push edx
call fcn.100da479
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x100d78c0
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d78b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d78f8
push ecx
push edx
call fcn.100da479
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0x10
jb 0x100d7908
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d78fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d78fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d9ffe
mov esp, ebp
pop ebp
ret