Function at 0x100e5df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f552d
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x101090b8]
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 [0x10134870]
mov esi, ebx
mov eax, dword [0x10134874]
mov dword [ebp - 0x164], eax
cmp esi, eax
je 0x100e5e7c
nop
cmp dword [esi], 0
je 0x100e5e7c
add esi, 4
cmp esi, eax
jne 0x100e5e70
cmp ebx, eax
je 0x100e5e8c
cmp dword [ebx], 1
je 0x100e5e8c
add ebx, 4
cmp ebx, eax
jne 0x100e5e80
cmp esi, eax
jne 0x100e5e98
cmp ebx, eax
je 0x100e6903
cmp byte [0x10140d00], 0
je 0x100e6903
mov ecx, dword [0x10128e84]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x10140d0c]
movss xmm1, dword [0x10140d10]
movss xmm2, dword [0x10140d14]
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.1001cc90
movss xmm1, dword [0x10140d20]
mulss xmm1, dword [0x100fd9a0]
mulss xmm0, xmm0
mulss xmm1, dword [0x10140d20]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x101a6cb0]
movaps xmm5, xmm0
mov eax, dword [0x10128e84]
add ecx, 0xffffffb3
mulss xmm5, dword [0x10140d18]
xor ecx, 0x2a974be6
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100e5f73
movaps xmm2, xmm5
movd xmm0, eax
mulss xmm2, dword [0x100fd720]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100fd720]
comiss xmm1, xmm0
jbe 0x100e5f70
addss xmm0, xmm0
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm5, xmm2
movss xmm3, dword [0x100fd97c]
movaps xmm0, xmm5
movss xmm2, dword [0x100fd974]
andps xmm3, xmm5
xorps xmm0, xmm3
movss xmm4, dword [0x100fd778]
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 [0x10140d08]
cvttss2si ecx, xmm1
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x12c], eax
mov eax, dword [0x101a6a74]
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.100255b0
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 1
call fcn.1001cf40
push dword [ebp - 0x174]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x180], 0x100287f0
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], 0x10028980
call fcn.1001d620
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x124]
push eax
call fcn.10025a90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100f8abc
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.10025500
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.10034940
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100e6124
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e611a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e611a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
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.10026310
add esp, 4
lea ecx, [ebp - 0x5c]
push eax
call fcn.10034940
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100e618b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e6181
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e6181
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
add esp, 8
mov edx, dword [0x101a6c5c]
mov eax, dword [0x10128e84]
add edx, 0xffffffc8
mov ecx, dword [ebp - 0x12c]
xor edx, 0x2a974bd1
mov edi, dword [0x1013fcec]
cmp ecx, dword [edx + eax]
lea edx, [ebp - 0x180]
mov ecx, 0x10140d0c
cmovl edi, dword [0x1013ee9c]
mov dword [ebp - 0x144], edi
call fcn.100d8350
cmp dword [0x10140d44], 0x10
mov edx, 0x10140d30
mov byte [ebp - 0x145], al
cmovae edx, dword [0x10140d30]
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 0x100e6208
sub ecx, dword [ebp - 0x134]
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.10025b70
xorps xmm1, xmm1
mov byte [ebp - 4], 3
cmp esi, dword [ebp - 0x164]
je 0x100e6802
mov ecx, 1
mov dword [ebp - 0x160], 0
cmp dword [ebp - 0x34], ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x150], 0
cmovb ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x160]
push eax
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
call fcn.10025b70
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x140], 0x60b580e
mov dword [ebp - 0x13c], 0x1a050e0b
mov word [ebp - 0x138], 0x584d
mov byte [ebp - 0x136], 0x2b
nop word [eax + eax]
xor byte [ebp + eax - 0x140], 0x2b
inc eax
cmp eax, 0xb
jb 0x100e62b0
push 0x98
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.100255b0
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.1001cf40
add esi, 0xc
sub edi, 1
jne 0x100e6300
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x160]
mov dword [ebp - 0x16c], 0x10028670
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], 0x100287f0
movq xmm0, qword [ebp - 0x170]
mov dword [ebp - 0x194], fcn.1001da30
movq qword [ebp - 0x190], xmm0
mov dword [ebp - 0x188], 0x10028980
call fcn.1001d620
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x124]
push eax
call fcn.10025a90
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100f8abc
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.10025500
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 edx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x100e642b
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e6421
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e6421
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
add esp, 8
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x150], 0
push eax
lea edx, [ebp - 0x144]
mov dword [ebp - 0x14c], 0xf
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x160], 0
mov word [ebp - 0x144], 0x6925
mov byte [ebp - 0x142], 0
call fcn.10026310
add esp, 4
mov byte [ebp - 4], 8
movss xmm0, dword [0x100fd888]
comiss xmm0, dword [ebp - 0x14]
mov dword [ebp - 0x134], 0xff0aac87
jbe 0x100e6497
mov dword [ebp - 0x134], 0xff6ec8c8
movss xmm0, dword [0x100fd868]
comiss xmm0, dword [ebp - 0x14]
mov esi, dword [ebp - 0x134]
jbe 0x100e64bb
mov dword [ebp - 0x134], 0xff1120c0
mov esi, dword [ebp - 0x134]
cmp byte [0x10140d00], 0
je 0x100e6779
cmp byte [0x10140cdd], 0
jne 0x100e6779
cmp byte [0x10140cde], 0
jne 0x100e6779
movss xmm0, dword [ebp - 0x14]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100e6521
push 0
lea eax, [ebp - 0x2c]
push eax
push ecx
mov eax, esp
mov ecx, 0x101a9414
push 0xb
push 6
mov dword [eax], 0x7d000000
call fcn.100d8a30
push 0
lea eax, [ebp - 0x2c]
mov ecx, 0x101a9414
push eax
push esi
push 0xa
push 5
call fcn.100d8a30
mov ecx, dword [0x101a6c5c]
mov eax, dword [0x10128e84]
add ecx, 0xffffffc8
mov edx, dword [ebp - 0x12c]
xor ecx, 0x2a974bd1
cmp dword [ecx + eax], edx
jg 0x100e664a
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x41544146
lea ecx, [ebp - 0x160]
mov word [ebp - 0x138], 0x4c
call fcn.1002aee0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 9
push 0x1f
push 6
mov ecx, 0x101a9414
mov dword [eax], 0x7d000000
call fcn.100d8a30
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x100e65c6
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e65bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e65bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
add esp, 8
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x41544146
lea ecx, [ebp - 0x160]
mov word [ebp - 0x138], 0x4c
call fcn.1002aee0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xa
push 0x1e
push 5
mov ecx, 0x101a9414
mov dword [eax], 0xff1120c0
call fcn.100d8a30
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x100e6779
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e676f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e676f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edx, 1
jle 0x100e6779
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x13c], 0x6925202d
push eax
lea edx, [ebp - 0x13c]
mov word [ebp - 0x138], 0x5048
lea ecx, [ebp - 0x160]
mov byte [ebp - 0x136], 0
call fcn.10026680
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xb
push 0x1f
push 5
mov ecx, 0x101a9414
mov dword [eax], 0x7d000000
call fcn.100d8a30
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x100e66e6
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e66dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e66dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
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 - 0x160]
mov byte [ebp - 0x136], 0
call fcn.10026680
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xc
push 0x1e
push 6
mov ecx, 0x101a9414
mov dword [eax], 0xff98ffff
call fcn.100d8a30
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x100e6779
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e676f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e676f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x100e67b0
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e67a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e67ef
push edx
push ecx
call fcn.100ea570
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x100e67ff
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e67f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e67f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
add esp, 8
xorps xmm1, xmm1
cmp ebx, dword [ebp - 0x164]
je 0x100e68a0
cmp byte [ebp - 0x145], 0
je 0x100e68a0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x17c]
movss xmm1, dword [ebp - 0x180]
jbe 0x100e6865
push 2
lea eax, [ebp - 0x74]
mov ecx, 0x101a93cc
push eax
push dword [0x1013ee9c]
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
call fcn.100d8a30
movss xmm0, dword [ebp - 0x17c]
movss xmm1, dword [ebp - 0x180]
mov ecx, dword [0x101a6c50]
mov eax, dword [0x10128e84]
add ecx, 0xffffffcb
xor ecx, 0x2a974bce
cmp dword [ecx + eax], 0
jne 0x100e68a0
push 2
lea eax, [ebp - 0x5c]
mov ecx, 0x101a93cc
push eax
cvttss2si eax, xmm0
push edi
add eax, dword [0x101a93d4]
push eax
cvttss2si eax, xmm1
push eax
call fcn.100d8a30
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100e68d0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e68c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e693a
push edx
push ecx
call fcn.100ea570
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x100e6900
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e68f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e693a
push edx
push ecx
call fcn.100ea570
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 0x100e694a
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x74]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e6940
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e6940
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ea570
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.100ea0f5
mov esp, ebp
pop ebp
ret