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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102605a0
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.10063830
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x102be544
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_]
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xe]
call fcn.10008090
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.10064630
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 0x10061b44
push str.bad_input_stream
lea ecx, [ebp - 0x54]
call fcn.1001f800
mov byte [ebp - 4], 2
lea edx, [ebp - 0x54]
push edx
push 0
push 0x6f
lea eax, [ebp - 0x74]
push eax
call fcn.100513e0
add esp, 0x10
push 0x102db004
lea ecx, [ebp - 0x74]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.10007e60
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.10064610
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.10020e40
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 0x10061c0d
mov eax, dword [ebp - 0x14]
add eax, 0x30
mov dword [ebp - 0x2c], eax
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.100645f0
movsx ecx, byte [eax]
cmp ecx, 0xffffffef
jne 0x10061c0d
mov edx, dword [ebp - 0x14]
add edx, 0x30
mov dword [ebp - 0x30], edx
push 1
mov ecx, dword [ebp - 0x30]
call fcn.100645f0
movsx eax, byte [eax]
cmp eax, 0xffffffbb
jne 0x10061c0d
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
mov dword [ebp - 0x34], ecx
push 2
mov ecx, dword [ebp - 0x34]
call fcn.100645f0
movsx edx, byte [eax]
cmp edx, 0xffffffbf
jne 0x10061c0d
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