Function at 0x1006fa40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10281ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.1006fd70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x102b907c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
nop
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xe]
call fcn.100064b0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0xd]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.100698b0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
movzx ecx, al
test ecx, ecx
je 0x1006fb47
push str.bad_input_stream
lea ecx, [ebp - 0x54]
call fcn.10022ec0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x54]
push edx
push 0
push 0x6f
lea eax, [ebp - 0x74]
push eax
call fcn.10074e70
add esp, 0x10
push 0x10306360
lea ecx, [ebp - 0x74]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.10006830
nop
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.100855a0
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.10010160
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
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 edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
call dword [sym.imp.MSVCP140.dll_public:_long_long___int64____thiscall_std::basic_istream_char__struct_std::char_traits_char__::gcount_void_const]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 3
jb 0x1006fc10
mov eax, dword [ebp - 0x14]
add eax, 0x30
mov dword [ebp - 0x2c], eax
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.10071990
movsx ecx, byte [eax]
cmp ecx, 0xffffffef
jne 0x1006fc10
mov edx, dword [ebp - 0x14]
add edx, 0x30
mov dword [ebp - 0x30], edx
push 1
mov ecx, dword [ebp - 0x30]
call fcn.10071990
movsx eax, byte [eax]
cmp eax, 0xffffffbb
jne 0x1006fc10
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
mov dword [ebp - 0x34], ecx
push 2
mov ecx, dword [ebp - 0x34]
call fcn.10071990
movsx edx, byte [eax]
cmp edx, 0xffffffbf
jne 0x1006fc10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
add ecx, 3
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
add ecx, 3
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8