Function at 0x100ec2a0
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 0x100fbc9b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x101110c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
push 0
mov byte [ebp - 4], 1
push dword [0x1013b0a4]
push dword [0x1013b0a0]
call fcn.100f0090
mov esi, dword [0x1013b0a4]
mov edi, eax
push 1
push esi
push dword [0x1013b0a0]
mov dword [ebp - 0x144], edi
call fcn.100f0090
mov ecx, dword [0x1013b0a4]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], ecx
cmp edi, esi
jne 0x100ec378
cmp eax, ecx
je 0x100ece82
cmp byte [0x10147108], 0
je 0x100ece82
mov ecx, dword [0x10130e2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x10147114]
movss xmm1, dword [0x10147118]
movss xmm2, dword [0x1014711c]
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.10023a10
movss xmm1, dword [0x10147128]
mulss xmm1, dword [0x10104988]
mulss xmm0, xmm0
mulss xmm1, dword [0x10147128]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x101aea30]
movaps xmm5, xmm0
mov eax, dword [0x10130e2c]
add ecx, 0xffffffb3
mulss xmm5, dword [0x10147120]
xor ecx, 0xb391e09
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100ec453
movaps xmm2, xmm5
movd xmm0, eax
mulss xmm2, dword [0x10104728]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x10104728]
comiss xmm1, xmm0
jbe 0x100ec450
addss xmm0, xmm0
movaps xmm2, xmm5
subss xmm2, xmm0
movaps xmm5, xmm2
movss xmm3, dword [0x10104960]
movaps xmm0, xmm5
movss xmm2, dword [0x10104958]
andps xmm3, xmm5
xorps xmm0, xmm3
movss xmm4, dword [0x1010477c]
cmpltss xmm0, xmm2
mov dword [ebp - 0x13c], 0x66322e25
movaps xmm1, xmm5
mov byte [ebp - 0x138], 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 [0x10147110]
cvttss2si ecx, xmm1
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x12c], eax
mov eax, dword [0x101ae7cc]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x128]
push eax
movss dword [ebp - 0x18], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x101032c8
lea ecx, [ebp - 0xd8]
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 - 0x124]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x134], 2
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 dword [ebp - 4], 3
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100ffabc
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 dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x124], 0x100ffac8
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x150]
mov dword [ebp - 0x158], eax
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x128]
lea eax, [ebp - 0x150]
mov dword [ebp - 0x14c], 0x1002ea40
push 1
push eax
mov dword [ebp - 0x148], 0x1002ea60
call fcn.10024350
add esp, 8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x124]
push eax
call fcn.1002be20
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100ffabc
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.1002b830
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 - 0x30]
push eax
lea ecx, [ebp - 0x90]
call fcn.1003b570
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100ec675
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ec66b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ec66b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
lea eax, [ebp - 0x12c]
mov word [ebp - 0x13c], 0x6925
push eax
lea edx, [ebp - 0x13c]
mov byte [ebp - 0x13a], 0
lea ecx, [ebp - 0x30]
call fcn.1002c5e0
add esp, 4
lea ecx, [ebp - 0x48]
push eax
call fcn.1003b570
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100ec6dc
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ec6d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ec6d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
mov edx, dword [0x101ae9dc]
mov eax, dword [0x10130e2c]
add edx, 0xffffffc8
mov ecx, dword [ebp - 0x12c]
xor edx, 0xb391df4
mov edi, dword [0x1014628c]
cmp ecx, dword [edx + eax]
lea edx, [ebp - 0x178]
mov ecx, 0x10147114
cmovl edi, dword [0x10145624]
call fcn.100dcf00
cmp dword [0x1014714c], 0xf
mov edx, 0x10147138
mov byte [ebp - 0x13d], al
xorps xmm0, xmm0
cmova edx, dword [0x10147138]
mov ecx, edx
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ec750
sub ecx, dword [ebp - 0x134]
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.1002cd90
xorps xmm1, xmm1
mov byte [ebp - 4], 5
cmp dword [ebp - 0x144], esi
je 0x100ecdab
mov ecx, 1
mov dword [ebp - 0x160], 0
cmp dword [ebp - 0x50], ecx
lea eax, [ebp - 0x60]
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
cmovb ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x170]
push eax
movups xmmword [ebp - 0x170], xmm0
call fcn.1002cd90
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x150], 0x808dde88
mov dword [ebp - 0x14c], 0x9c83888d
mov word [ebp - 0x148], 0xdecb
mov byte [ebp - 0x146], 0xad
nop word [eax + eax]
xor byte [ebp + eax - 0x150], 0xad
inc eax
cmp eax, 0xb
jb 0x100ec7f0
push 0x98
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x101032c8
lea ecx, [ebp - 0xd8]
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 - 0x124]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x134], 0x2f
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 dword [ebp - 4], 8
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100ffabc
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 dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x124], 0x100ffac8
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 4
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 9
mov dword [ebp - 0x1a0], eax
mov ecx, 2
mov dword [ebp - 0x19c], 2
lea eax, [ebp - 0x190]
nop dword [eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100ec8d0
push dword [ebp - 0x19c]
lea eax, [ebp - 0x170]
mov dword [ebp - 0x194], 0x1002ea20
push dword [ebp - 0x1a0]
mov dword [ebp - 0x198], eax
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x190], fcn.10024760
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], 0x1002ea40
mov dword [ebp - 0x184], 0x1002ea60
call fcn.10024350
add esp, 8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x124]
push eax
call fcn.1002be20
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x100ffabc
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.1002b830
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], 0xb
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x100ec9e3
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ec9d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ec9d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x160], 0
push eax
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x15c], 0xf
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x170], 0
mov word [ebp - 0x13c], 0x6925
mov byte [ebp - 0x13a], 0
call fcn.1002c5e0
add esp, 4
mov byte [ebp - 4], 0xc
movss xmm0, dword [0x10104874]
comiss xmm0, dword [ebp - 0x18]
mov dword [ebp - 0x134], 0xff0aac87
jbe 0x100eca4c
mov dword [ebp - 0x134], 0xff6ec8c8
movss xmm0, dword [0x10104858]
comiss xmm0, dword [ebp - 0x18]
mov esi, dword [ebp - 0x134]
jbe 0x100eca70
mov dword [ebp - 0x134], 0xff1120c0
mov esi, dword [ebp - 0x134]
cmp byte [0x10147108], 0
je 0x100ecd28
cmp byte [0x101470e5], 0
jne 0x100ecd28
cmp byte [0x101470e6], 0
jne 0x100ecd28
movss xmm0, dword [ebp - 0x18]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100ecad6
push 0
lea eax, [ebp - 0x30]
push eax
push ecx
mov eax, esp
mov ecx, 0x101b1544
push 0xb
push 6
mov dword [eax], 0x7d000000
call fcn.100dd600
push 0
lea eax, [ebp - 0x30]
mov ecx, 0x101b1544
push eax
push esi
push 0xa
push 5
call fcn.100dd600
mov ecx, dword [0x101ae9dc]
mov eax, dword [0x10130e2c]
add ecx, 0xffffffc8
mov edx, dword [ebp - 0x12c]
xor ecx, 0xb391df4
cmp dword [ecx + eax], edx
jg 0x100ecbff
lea edx, [ebp - 0x134]
mov dword [ebp - 0x134], 0x41544146
lea ecx, [ebp - 0x170]
mov word [ebp - 0x130], 0x4c
call fcn.10031b10
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xd
push 0x1f
push 6
mov ecx, 0x101b1544
mov dword [eax], 0x7d000000
call fcn.100dd600
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x100ecb7b
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecb71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ecb71
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
lea edx, [ebp - 0x134]
mov dword [ebp - 0x134], 0x41544146
lea ecx, [ebp - 0x170]
mov word [ebp - 0x130], 0x4c
call fcn.10031b10
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xe
push 0x1e
push 5
mov ecx, 0x101b1544
mov dword [eax], 0xff1120c0
call fcn.100dd600
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x100ecd28
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecd1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ecd1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edx, 1
jle 0x100ecd28
lea eax, [ebp - 0x78]
mov dword [ebp - 0x134], 0x6925202d
push eax
lea edx, [ebp - 0x134]
mov word [ebp - 0x130], 0x5048
lea ecx, [ebp - 0x170]
mov byte [ebp - 0x12e], 0
call fcn.1002c710
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xf
push 0x1f
push 5
mov ecx, 0x101b1544
mov dword [eax], 0x7d000000
call fcn.100dd600
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x100ecc98
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecc8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ecc8e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
lea eax, [ebp - 0x78]
mov dword [ebp - 0x134], 0x6925202d
push eax
lea edx, [ebp - 0x134]
mov word [ebp - 0x130], 0x5048
lea ecx, [ebp - 0x170]
mov byte [ebp - 0x12e], 0
call fcn.1002c710
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 0x10
push 0x1e
push 6
mov ecx, 0x101b1544
mov dword [eax], 0xff98ffff
call fcn.100dd600
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x100ecd28
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecd1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ecd1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x100ecd5c
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecd52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ecd98
push ecx
push edx
call fcn.100f079b
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp ecx, 0xf
jbe 0x100ecda8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecd9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ecd9e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
xorps xmm1, xmm1
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0x180], eax
je 0x100ece52
cmp byte [ebp - 0x13d], 0
je 0x100ece52
movss xmm0, dword [ebp - 0x18]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x174]
movss xmm1, dword [ebp - 0x178]
jbe 0x100ece17
push 2
lea eax, [ebp - 0x90]
mov ecx, 0x101b14fc
push eax
push dword [0x10145624]
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
call fcn.100dd600
movss xmm0, dword [ebp - 0x174]
movss xmm1, dword [ebp - 0x178]
mov ecx, dword [0x101ae9d0]
mov eax, dword [0x10130e2c]
add ecx, 0xffffffcb
xor ecx, 0xb391df1
cmp dword [ecx + eax], 0
jne 0x100ece52
push 2
lea eax, [ebp - 0x48]
mov ecx, 0x101b14fc
push eax
cvttss2si eax, xmm0
push edi
add eax, dword [0x101b1504]
push eax
cvttss2si eax, xmm1
push eax
call fcn.100dd600
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100ece82
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ece78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100eceed
push ecx
push edx
call fcn.100f079b
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100eceb2
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecea8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100eceed
push ecx
push edx
call fcn.100f079b
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x100ecefd
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ecef3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ecef3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f079b
add esp, 8
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.100f0320
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret