Function at 0x10066dc0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a411
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 0x30], 7
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x5c], edi
mov word [edi + 0x1c], ax
mov dword [ebp - 4], eax
lea esi, [edi + 0x60]
mov byte [edi + 0x38], al
mov al, byte [ebp + 0x14]
push 0
mov byte [edi + 0x39], al
mov dword [edi + 0x3a], 0
push 0
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005bc80
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x68]
push 0
push 0
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005bc80
mov dword [esi], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi]
mov dword [edi + 0x74], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x78], eax
lea eax, [ebp - 0x28]
push eax
mov byte [edi + 0x70], 0
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov edx, eax
mov ecx, dword [edx + 8]
add ecx, dword [edx]
mov eax, dword [edx + 0xc]
adc eax, dword [edx + 4]
mov dword [edi + 0xc], eax
mov eax, ecx
mov dword [edi + 8], ecx
mov ecx, dword [edi + 0xc]
test ecx, ecx
jl 0x100672e5
jg 0x10066eaa
cmp eax, 4
jb 0x100672e5
sub eax, 4
push 0
sbb ecx, 0
mov dword [edi + 8], eax
push 7
lea eax, [ebp - 0x50]
mov dword [edi + 0xc], ecx
mov ecx, dword [edi]
push eax
call dword [sym.imp.MSVCP120.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 eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
cmp ecx, 7
jne 0x100672e5
mov eax, dword [ebp - 0x50]
movzx ecx, word [ebp - 0x4c]
mov dword [edi + 0x10], eax
mov eax, ecx
and eax, 3
shr ecx, 8
mov dword [edi + 0x14], eax
movzx eax, byte [ebp - 0x4a]
add ax, ax
mov dword [edi + 0x18], ecx
movzx eax, ax
test ax, ax
je 0x100672e5
mov esi, eax
lea ecx, [ebp - 0x38]
push esi
call fcn.10055120
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x74]
mov ecx, dword [edi]
cmp dword [eax + 8], 1
jne 0x10067005
push 0
push 1
lea eax, [ebp - 0x2b]
push eax
call dword [sym.imp.MSVCP120.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 [edi]
cmp dword [ecx + 8], 1
jne 0x100672d9
cmp dword [ecx + 0xc], 0
jne 0x100672d9
mov al, byte [ebp - 0x2b]
test al, 1
je 0x10066fa2
mov ebx, dword [ebp - 0x38]
mov eax, esi
cdq
push edx
push eax
push ebx
call dword [sym.imp.MSVCP120.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 eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
cmp esi, ecx
jne 0x100672d9
lea eax, [esi + ebx]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.1005cba0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x1c]
push eax
call fcn.10054f80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.10054fc0
mov dword [edi + 0x34], 1
jmp 0x10067059
test al, al
jne 0x10066ffc
movzx eax, byte [ebp - 0x4a]
mov esi, dword [ebp - 0x38]
cdq
push edx
push eax
push esi
call dword [sym.imp.MSVCP120.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 eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
movzx eax, byte [ebp - 0x4a]
cmp eax, ecx
jne 0x100672d9
add eax, esi
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.1006aa10
mov byte [ebp - 4], 9
lea ecx, [edi + 0x1c]
push eax
call fcn.10054f80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.10054fc0
mov dword [edi + 0x34], 2
jmp 0x10067059
mov dword [edi + 0x34], 3
jmp 0x10067059
movzx eax, byte [ebp - 0x4a]
mov esi, dword [ebp - 0x38]
cdq
push edx
push eax
push esi
call dword [sym.imp.MSVCP120.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 eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
movzx eax, byte [ebp - 0x4a]
cmp eax, ecx
jne 0x100672d9
add eax, esi
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.1006aa10
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x1c]
push eax
call fcn.10054f80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.10054fc0
mov dword [edi + 0x34], 0
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
and eax, 0xff00
cmp eax, 0x100
je 0x1006706f
cmp cl, 2
jne 0x10067073
mov byte [edi + 0x38], 1
mov ecx, dword [edi]
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.MSVCP120.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_]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x100672d9
push 0
push 4
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCP120.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 [edi]
cmp dword [ecx + 8], 4
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
jne 0x100672d9
mov eax, dword [ebp - 0x3c]
mov edx, 0x809
cmp ax, dx
jne 0x100672d9
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
lea ecx, [ecx]
cmp ax, 0x55
je 0x100672d5
movzx eax, ax
add eax, 0xffffffee
cmp eax, 0xcb
ja case.0x10067122.20
movzx eax, byte [eax + 0x10067320]
jmp dword [eax*4 + 0x1006730c]
push 0
push 2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCP120.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 [edi]
cmp dword [ecx + 8], 2
jne 0x100672d9
cmp dword [ecx + 0xc], 0
jne 0x100672d9
cmp word [ebp - 0x2c], 0
setne al
mov byte [edi + 0x3a], al
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
mov edx, dword [ecx + 8]
add edx, dword [ecx]
mov eax, dword [ecx + 0xc]
adc eax, dword [ecx + 4]
mov dword [edi + 0x40], edx
add dword [edi + 0x40], 0xfffffffe
mov dword [edi + 0x44], eax
adc dword [edi + 0x44], 0xffffffff
jmp 0x100672aa
push 0
push 2
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCP120.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 [edi]
cmp dword [ecx + 8], 2
jne 0x100672d9
cmp dword [ecx + 0xc], 0
jne 0x100672d9
cmp word [ebp - 0x54], 0
setne al
mov byte [edi + 0x3b], al
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
mov edx, dword [ecx + 8]
add edx, dword [ecx]
mov eax, dword [ecx + 0xc]
adc eax, dword [ecx + 4]
mov dword [edi + 0x48], edx
add dword [edi + 0x48], 0xfffffffe
mov dword [edi + 0x4c], eax
adc dword [edi + 0x4c], 0xffffffff
jmp 0x100672aa
push 0
push 2
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVCP120.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 [edi]
cmp dword [ecx + 8], 2
jne 0x100672d9
cmp dword [ecx + 0xc], 0
jne 0x100672d9
cmp word [ebp - 0x58], 0
setne al
mov byte [edi + 0x3c], al
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
mov edx, dword [ecx + 8]
add edx, dword [ecx]
mov eax, dword [ecx + 0xc]
adc eax, dword [ecx + 4]
mov dword [edi + 0x50], edx
add dword [edi + 0x50], 0xfffffffe
mov dword [edi + 0x54], eax
adc dword [edi + 0x54], 0xffffffff
jmp 0x100672aa
push 0
push 2
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCP120.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 [edi]
cmp dword [ecx + 8], 2
jne 0x100672d9
cmp dword [ecx + 0xc], 0
jne 0x100672d9
cmp word [ebp - 0x44], 0
setne al
mov byte [edi + 0x3d], al
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::fpos_int____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
mov edx, dword [ecx + 8]
add edx, dword [ecx]
mov eax, dword [ecx + 0xc]
adc eax, dword [ecx + 4]
mov dword [edi + 0x58], edx
add dword [edi + 0x58], 0xfffffffe
mov dword [edi + 0x5c], eax
adc dword [edi + 0x5c], 0xffffffff
jmp 0x100672aa
movzx eax, word [ebp - 0x3a]
push 1
cdq
push edx
push eax
call dword [sym.imp.MSVCP120.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_]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x100672d9
mov ecx, dword [edi]
lea eax, [ebp - 0x3c]
push 0
push 4
push eax
call dword [sym.imp.MSVCP120.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 [edi]
cmp dword [ecx + 8], 4
jne 0x100672d9
cmp dword [ecx + 0xc], 0
jne 0x100672d9
mov eax, dword [ebp - 0x3c]
cmp ax, 0xa
jne 0x10067100
mov byte [edi + 0x70], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.100551c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.10081d64
mov esp, ebp
pop ebp
ret 0x10