Function at 0x101e0e90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f334d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x102289dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
cmp esi, 0x10000
jbe 0x101e0ef6
push 0x1f
push 0x102186e4
push str._s:_d:_JXL_FAILURE:_too_many_toc_entries_n
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.1000f820
mov eax, dword [ebp + 8]
add esp, 0x14
mov dword [eax], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
push esi
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call fcn.100397e0
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi]
mov dword [edi + 4], ecx
test esi, esi
je 0x101e0f40
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 3
cmp esi, eax
jbe 0x101e0f2a
lea eax, [ebp - 0xd]
mov ecx, edi
push eax
push esi
call fcn.101e0d50
jmp 0x101e0f40
shl esi, 3
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
mov esi, dword [ecx + 0xc]
mov eax, esi
mov edx, dword [ecx + 0x14]
sub eax, edx
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x24], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
add ecx, eax
mov dword [ebp - 0x54], esi
mov eax, edi
shl ecx, 3
sub eax, edx
mov dword [ebp - 0x2c], edi
sub ecx, esi
lea eax, [eax*8 + 0x40]
cmp ecx, eax
jb 0x101e0fa5
mov esi, dword [ebp + 8]
push 0x27
push 0x102186e4
push str._s:_d:_Not_enough_bytes_for_TOC_n
push 0xffffffffffffffff
push esi
call fcn.1000f820
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
lea eax, [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x2c]
jbe 0x101e0fe4
mov ecx, dword [ebp - 0x28]
call fcn.10012570
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
jmp 0x101e10c1
movzx eax, byte [edi]
cdq
mov dword [ebp - 0x4c], eax
movzx eax, byte [edi + 1]
mov dword [ebp - 0x50], edx
cdq
mov dword [ebp - 0x44], eax
movzx eax, byte [edi + 2]
mov dword [ebp - 0x48], edx
cdq
mov dword [ebp - 0x3c], eax
movzx eax, byte [edi + 3]
mov dword [ebp - 0x40], edx
cdq
mov dword [ebp - 0x34], eax
movzx eax, byte [edi + 4]
mov dword [ebp - 0x38], edx
cdq
mov dword [ebp - 0x14], eax
movzx eax, byte [edi + 5]
mov dword [ebp - 0x30], edx
cdq
mov dword [ebp - 0x2c], eax
movzx eax, byte [edi + 6]
mov dword [ebp - 0x1c], edx
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [edi + 7]
cdq
shld edx, eax, 8
mov edi, dword [ebp - 0x54]
shl eax, 8
or edx, esi
or eax, ecx
mov ecx, edi
shld edx, eax, 8
or edx, dword [ebp - 0x1c]
shl eax, 8
or eax, dword [ebp - 0x2c]
shld edx, eax, 8
or edx, dword [ebp - 0x30]
shl eax, 8
or eax, dword [ebp - 0x14]
shld edx, eax, 8
or edx, dword [ebp - 0x38]
shl eax, 8
or eax, dword [ebp - 0x34]
shld edx, eax, 8
or edx, dword [ebp - 0x40]
shl eax, 8
or eax, dword [ebp - 0x3c]
shld edx, eax, 8
or edx, dword [ebp - 0x48]
shl eax, 8
or eax, dword [ebp - 0x44]
shld edx, eax, 8
or edx, dword [ebp - 0x50]
shl eax, 8
or eax, dword [ebp - 0x4c]
call fcn.101e8c40
mov ecx, dword [ebp - 0x28]
or dword [ecx], eax
mov eax, dword [ebp + 0x10]
or dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, 0x3f
sub eax, edi
or edi, 0x38
shr eax, 3
add eax, dword [ebp - 0x24]
xor esi, esi
mov dword [ecx + 0xc], eax
lea eax, [edi - 1]
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
mov eax, edx
shrd eax, edi, 1
and edx, 1
shr edi, 1
or edx, 0
mov dword [ecx], eax
mov eax, edi
mov dword [ebp - 0x1c], edi
mov edi, 0
mov dword [ecx + 4], eax
je 0x101e11ce
cmp dword [ebp + 0xc], edi
jbe 0x101e11ce
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push edi
push eax
lea ecx, [ebp - 0x58]
call fcn.101e0df0
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x101e1142
push str.check_bit_budget_toc_entries_
push esi
push 0x3a
push 0x102186e4
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.1000f820
mov eax, dword [ebp + 8]
add esp, 0x1c
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea ecx, [ebp - 0x80]
call fcn.100397e0
push dword [ebp + 0x10]
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x28]
push esi
push edi
push 0
push eax
mov dword [ebp - 0x18], esi
call fcn.100e0c20
mov eax, dword [ebp - 0x28]
add esp, 0x14
test eax, eax
je 0x101e11c8
push str.DecodePermutation__0__toc_entries__permutation.data____reader_
push eax
push 0x3d
push 0x102186e4
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1000f820
mov ecx, dword [ebp + 8]
add esp, 0x1c
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
test esi, esi
je 0x101e13d3
mov ecx, dword [ebp - 0x78]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x101e11c2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101e11c2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
jmp 0x101e13ca
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x20], edi
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
neg eax
and eax, 7
je 0x101e13ed
mov ecx, 8
sub ecx, eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x58], ecx
cmp ecx, dword [edx + 0x10]
jbe 0x101e1220
mov ecx, edx
call fcn.10012570
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x24], eax
jmp 0x101e1310
movzx eax, byte [ecx]
cdq
mov dword [ebp - 0x28], eax
movzx eax, byte [ecx + 1]
mov dword [ebp - 0x1c], edx
cdq
mov dword [ebp - 0x34], eax
movzx eax, byte [ecx + 2]
mov dword [ebp - 0x30], edx
cdq
mov dword [ebp - 0x3c], eax
movzx eax, byte [ecx + 3]
mov dword [ebp - 0x38], edx
cdq
mov dword [ebp - 0x44], eax
movzx eax, byte [ecx + 4]
mov dword [ebp - 0x40], edx
cdq
mov dword [ebp - 0x4c], eax
movzx eax, byte [ecx + 5]
mov dword [ebp - 0x48], edx
cdq
mov dword [ebp - 0x54], eax
movzx eax, byte [ecx + 6]
mov dword [ebp - 0x50], edx
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 7]
cdq
shld edx, eax, 8
shl eax, 8
or edx, esi
or eax, ecx
mov esi, dword [ebp - 0x24]
shld edx, eax, 8
mov ecx, esi
or edx, dword [ebp - 0x50]
shl eax, 8
or eax, dword [ebp - 0x54]
shld edx, eax, 8
or edx, dword [ebp - 0x48]
shl eax, 8
or eax, dword [ebp - 0x4c]
shld edx, eax, 8
or edx, dword [ebp - 0x40]
shl eax, 8
or eax, dword [ebp - 0x44]
shld edx, eax, 8
or edx, dword [ebp - 0x38]
shl eax, 8
or eax, dword [ebp - 0x3c]
shld edx, eax, 8
or edx, dword [ebp - 0x30]
shl eax, 8
or eax, dword [ebp - 0x34]
shld edx, eax, 8
or edx, dword [ebp - 0x1c]
shl eax, 8
or eax, dword [ebp - 0x28]
call fcn.101e8c40
mov ecx, dword [ebp - 0x14]
or dword [ecx], eax
mov eax, dword [ebp + 0x10]
or dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, 0x3f
sub eax, esi
mov dword [ebp - 0x28], edx
shr eax, 3
add dword [ecx + 0xc], eax
or esi, 0x38
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
movq xmm1, qword [ebp - 0x5c]
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
and dword [ebp - 0x28], ecx
and dword [ebp - 0x1c], edx
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
sub ecx, edx
movd xmm0, edx
psrlq xmm1, xmm0
mov dword [eax + 8], ecx
movq qword [eax], xmm1
mov eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x1c]
je 0x101e13e7
push 0xd4
push str.C:Projectslibjxllib_jxl_dec_bit_reader.h
push str._s:_d:_JXL_FAILURE:_Non_zero_padding_bits_n
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.1000f820
push str.reader__JumpToByteBoundary__
push 1
push 0x40
push 0x102186e4
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.1000f820
add esp, 0x30
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
test esi, esi
je 0x101e13d3
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x101e13c9
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101e1963
push edi
push esi
call fcn.101e8bf4
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 0x18]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x10]
sub eax, dword [edx + 0x14]
lea esi, [eax*8 + 0x40]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 0x14]
add ecx, eax
shl ecx, 3
sub ecx, dword [edx + 8]
cmp ecx, esi
ja 0x101e1422
sub esi, ecx
cmp dword [ebp - 0x58], esi
jbe 0x101e1475
push 0x33
push 0x102186e4
push str._s:_d:_Not_enough_bytes_for_TOC_n
lea eax, [ebp - 0x58]
push 0xffffffffffffffff
push eax
call fcn.1000f820
mov esi, dword [ebp - 0x58]
add esp, 0x14
test esi, esi
je 0x101e146f
push str.check_bit_budget_toc_entries_
push esi
push 0x41
push 0x102186e4
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.1000f820
mov ecx, dword [ebp + 8]
add esp, 0x1c
mov dword [ecx], esi
mov esi, dword [ebp - 0x18]
jmp 0x101e13a2
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x101e14b8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
movups xmm0, xmmword [0x102186d4]
push edx
sub esp, 0x10
mov eax, dword [eax]
lea esi, [eax + ecx*4]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.1018e780
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
inc ecx
mov dword [esi], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
cmp ecx, edi
jb 0x101e1482
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [edx + 8]
mov dword [ebp - 0x1c], eax
neg eax
and eax, 7
je 0x101e167b
mov ecx, 8
sub ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x58], ecx
cmp ecx, dword [edx + 0x10]
jbe 0x101e1504
mov ecx, edx
call fcn.10012570
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x1c], ecx
jmp 0x101e15f2
movzx eax, byte [ecx]
cdq
mov dword [ebp - 0x2c], eax
movzx eax, byte [ecx + 1]
mov dword [ebp - 0x24], edx
cdq
mov dword [ebp - 0x34], eax
movzx eax, byte [ecx + 2]
mov dword [ebp - 0x30], edx
cdq
mov dword [ebp - 0x3c], eax
movzx eax, byte [ecx + 3]
mov dword [ebp - 0x38], edx
cdq
mov dword [ebp - 0x44], eax
movzx eax, byte [ecx + 4]
mov dword [ebp - 0x40], edx
cdq
mov dword [ebp - 0x4c], eax
movzx eax, byte [ecx + 5]
mov dword [ebp - 0x48], edx
cdq
mov dword [ebp - 0x54], eax
movzx eax, byte [ecx + 6]
mov dword [ebp - 0x50], edx
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 7]
cdq
shld edx, eax, 8
shl eax, 8
or edx, esi
or eax, ecx
mov ecx, dword [ebp - 0x1c]
shld edx, eax, 8
or edx, dword [ebp - 0x50]
shl eax, 8
or eax, dword [ebp - 0x54]
shld edx, eax, 8
or edx, dword [ebp - 0x48]
shl eax, 8
or eax, dword [ebp - 0x4c]
shld edx, eax, 8
or edx, dword [ebp - 0x40]
shl eax, 8
or eax, dword [ebp - 0x44]
shld edx, eax, 8
or edx, dword [ebp - 0x38]
shl eax, 8
or eax, dword [ebp - 0x3c]
shld edx, eax, 8
or edx, dword [ebp - 0x30]
shl eax, 8
or eax, dword [ebp - 0x34]
shld edx, eax, 8
or edx, dword [ebp - 0x24]
shl eax, 8
or eax, dword [ebp - 0x2c]
call fcn.101e8c40
mov esi, dword [ebp - 0x14]
mov edi, 0x3f
or dword [esi], eax
mov eax, dword [ebp + 0x10]
or dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
sub edi, eax
shr edi, 3
add dword [esi + 0xc], edi
or eax, 0x38
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
mov dword [esi + 8], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x28]
xor edx, edx
movq xmm1, qword [ebp - 0x5c]
bts edx, eax
movd xmm0, dword [ebp - 0x28]
xor ecx, ecx
cmp eax, 0x20
psrlq xmm1, xmm0
cmovae ecx, edx
xor edx, ecx
movq qword [esi], xmm1
cmp eax, 0x40
mov eax, dword [ebp - 0x1c]
cmovae ecx, edx
add edx, 0xffffffff
adc ecx, 0xffffffff
and edx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
or edx, ecx
mov dword [esi + 8], eax
je 0x101e1675
push 0xd4
push str.C:Projectslibjxllib_jxl_dec_bit_reader.h
push str._s:_d:_JXL_FAILURE:_Non_zero_padding_bits_n
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.1000f820
push str.reader__JumpToByteBoundary__
push 1
push 0x45
push 0x102186e4
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.1000f820
mov esi, dword [ebp - 0x18]
jmp 0x101e1396
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x10]
mov esi, dword [ebp - 0x14]
sub eax, ecx
lea edx, [eax*8 + 0x40]
mov eax, dword [esi + 0xc]
sub eax, ecx
mov ecx, dword [esi + 0x18]
add ecx, eax
shl ecx, 3
sub ecx, dword [esi + 8]
cmp ecx, edx
jbe 0x101e16ee
push 0x33
push 0x102186e4
push str._s:_d:_Not_enough_bytes_for_TOC_n
lea eax, [ebp - 0x58]
push 0xffffffffffffffff
push eax
call fcn.1000f820
mov esi, dword [ebp - 0x58]
add esp, 0x14
test esi, esi
je 0x101e16ee
push str.check_bit_budget_0_
push esi
push 0x46
push 0x102186e4
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.1000f820
mov ecx, dword [ebp + 8]
add esp, 0x1c
mov dword [ecx], esi
mov esi, dword [ebp - 0x18]
jmp 0x101e13a2
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x5c], xmm0
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x101e1777
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
xor eax, eax
add dword [ebp - 0x28], edx
adc eax, esi
cmp eax, esi
jb 0x101e1755
ja 0x101e172e
cmp dword [ebp - 0x28], edx
jb 0x101e1755
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [eax + edi*8 + 4], esi
mov dword [eax + edi*8], edx
mov eax, dword [ebp - 0x2c]
add edx, dword [eax + edi*4]
mov eax, edi
mov edi, dword [ebp - 0x20]
adc esi, 0
inc eax
mov dword [ebp - 0x24], eax
cmp eax, ecx
jb 0x101e1710
jmp 0x101e177a
push 0x4c
push 0x102186e4
push str._s:_d:_JXL_FAILURE:_group_offset_overflow_n
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.1000f820
mov esi, dword [ebp - 0x18]
add esp, 0x14
jmp 0x101e1399
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x101e1786
mov dword [eax], edx
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x7c]
je 0x101e192b
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], eax
xor edx, edx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x101e17de
push ecx
lea ecx, [ebp - 0x68]
call fcn.10039360
push dword [ebp + 0xc]
lea ecx, [ebp - 0x74]
call fcn.10052140
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], edx
mov edi, dword [ebp - 0x1c]
mov eax, esi
mov esi, dword [ebp - 0x64]
mov dword [ebp + 0xc], eax
nop dword [eax]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], ecx
mov eax, dword [eax]
lea ecx, [eax + ecx*8]
cmp esi, edi
je 0x101e1813
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 8
mov dword [ebp - 0x64], esi
jmp 0x101e1826
push ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.100308a0
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x70]
cmp ecx, edx
je 0x101e1844
mov eax, dword [eax]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x70], ecx
jmp 0x101e1857
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.1004f260
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x7c]
jne 0x101e17f0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0xc]
je 0x101e1898
mov edx, dword [eax]
mov eax, dword [ebp - 0x68]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, edx
mov dword [eax + 4], esi
mov esi, edx
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov dword [esi + 8], edi
jmp 0x101e189e
mov eax, dword [ebp - 0x68]
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x74]
cmp esi, eax
je 0x101e18c2
mov eax, dword [esi]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x74]
mov dword [esi], eax
mov eax, dword [esi + 8]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x58]
mov dword [esi + 8], edx
mov edx, eax
jmp 0x101e18c5
mov ecx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
test ecx, ecx
je 0x101e18f8
sub edx, ecx
mov eax, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x101e18ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101e1963
push edx
push ecx
call fcn.101e8bf4
add esp, 8
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x101e192b
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x101e1921
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101e1963
push ecx
push edx
call fcn.101e8bf4
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
test esi, esi
je 0x101e13d3
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x101e13c9
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101e13c9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3