Function at 0x1001eeb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100681a8
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100a4300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x30], eax
xor edi, edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
push 1
push 3
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xfc]
call fcn.1001e070
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.1001dee0
add esp, 0xc
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 0x1001eff9
nop dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
mov dword [ebp - 0x4c], eax
cmova esi, dword [ebp - 0x28]
mov dword [eax], 0
lea eax, [ebp - 0x30]
push 0x10
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
cmp esi, dword [ebp - 0x30]
je 0x1001f156
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0x22
je 0x1001f14c
mov esi, dword [ebp - 0x38]
mov byte [ebp - 0x29], al
cmp edi, esi
je 0x1001efb1
mov byte [edi], al
inc edi
mov dword [ebp - 0x44], edi
jmp 0x1001efc7
lea eax, [ebp - 0x29]
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.10012850
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x38], esi
push 0x20
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.1001dee0
add esp, 0xc
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
jne 0x1001ef60
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
jmp 0x1001effb
xor eax, eax
sub edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0x40
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001f037
push edi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebp - 0x29], 1
jmp 0x1001f03b
mov byte [ebp - 0x29], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1001f06f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f065
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f11e
push ecx
push edx
call fcn.10064a5c
add esp, 8
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x100], eax
lea ecx, [ebp - 0xe4]
call fcn.1001e4a0
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1001f0f8
sub esi, ecx
mov eax, ecx
cmp esi, 0x1000
jb 0x1001f0ee
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f11e
push esi
push ecx
call fcn.10064a5c
add esp, 8
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xf
jbe 0x1001f12e
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f124
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f124
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10064a5c
add esp, 8
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064d84
mov esp, ebp
pop ebp
ret
push str.stoul_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
push str.invalid_stoul_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__
int3