Function at 0x65944e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ecx, 0x65a27304
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x3c], 0
call dbg.std::locale::id::_M_id() const
mov edx, eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 4]
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x659451ec
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], 0x63
mov dword [esp + 0xc], 0
call fcn.65945a00
mov edi, dword [esp + 0x3c]
mov ebx, edx
mov edx, eax
mov eax, ebx
mov dword [esp + 0x28], edx
mov ebx, edx
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x2c]
mov dword [esp + 0x60], edx
mov word [esp + 0x64], ax
test edi, edi
je 0x65944f10
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x68]
or dword [eax], 4
cmp word [esp + 0x6c], 0xffff
sete al
test edi, edi
mov esi, eax
setne al
and eax, esi
cmp word [esp + 0x64], 0xffff
sete dl
test ebx, ebx
mov byte [esp + 0x25], al
setne al
and al, dl
mov ebp, eax
jne 0x65944f7f
cmp byte [esp + 0x25], 0
jne 0x65944fb0
mov eax, esi
cmp dl, al
jne 0x65944ef7
mov eax, dword [esp + 0x74]
or dword [eax], 2
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
lea eax, [esp + 0x68]
lea ecx, [esp + 0x60]
mov dword [esp], eax
call dbg.std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >::equal(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> > const&) const
sub esp, 4
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x26], al
mov dword [esp + 0x20], ecx
test al, al
je 0x65944fe0
mov edi, dword [esp + 0x68]
cmp word [esp + 0x6c], 0xffff
sete al
test edi, edi
mov esi, eax
setne al
and eax, esi
cmp dword [esp + 0x20], 0x44
mov byte [esp + 0x25], al
jle 0x65944fd0
cmp word [esp + 0x64], 0xffff
mov ebx, dword [esp + 0x60]
sete dl
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
test ebx, ebx
mov dword [eax + 0x14], ecx
setne al
and al, dl
mov ebp, eax
je 0x65944edf
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x65945188
movzx eax, word [eax]
xor edx, edx
cmp ax, 0xffff
jne 0x65944edf
mov dword [esp + 0x60], 0
mov edx, ebp
jmp 0x65944edf
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jae 0x65945170
movzx eax, word [eax]
cmp ax, 0xffff
sete al
mov esi, eax
jmp 0x65944eea
add dword [esp + 0x20], 0x64
jmp 0x65944f58
lea ecx, [esp + 0x60]
call dbg.std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >::_M_get() const
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 4], 0x2a
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
lea edx, [eax - 0x30]
sub esp, 8
cmp dl, 9
ja 0x65944f37
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
movsx eax, al
lea esi, [edi + edi*4]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
lea eax, [eax + esi*2 - 0x30]
mov dword [esp + 0x20], eax
cmp edx, ecx
jae 0x65945198
add edx, 2
mov esi, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [ebx + 8], edx
mov word [esp + 0x64], si
cmp edx, ecx
jae 0x659450a6
movzx eax, word [edx]
cmp ax, 0xffff
je 0x659451bc
cmp ax, 0xffff
mov edi, dword [esp + 0x68]
sete byte [esp + 0x27]
cmp word [esp + 0x6c], 0xffff
sete al
test edi, edi
mov esi, eax
setne al
mov ecx, esi
and cl, al
mov byte [esp + 0x25], cl
jne 0x659450f0
mov eax, esi
mov byte [esp + 0x26], al
movzx ecx, byte [esp + 0x26]
mov edx, 1
cmp byte [esp + 0x27], cl
jne 0x659450b0
mov eax, dword [esp + 0x20]
sub eax, 0x76c
mov dword [esp + 0x20], eax
jmp 0x65944f65
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x6594504d
lea ecx, [esp + 0x60]
call dbg.std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >::_M_get() const
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 4], 0x2a
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
lea edx, [eax - 0x30]
mov ebx, dword [esp + 0x60]
cmp dl, 9
jbe 0x65945130
cmp word [esp + 0x64], 0xffff
sete dl
jmp 0x65945094
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jae 0x659451cb
movzx eax, word [eax]
cmp ax, 0xffff
jne 0x65945084
movzx eax, byte [esp + 0x25]
mov dword [esp + 0x68], 0
xor edi, edi
mov byte [esp + 0x25], 0
mov byte [esp + 0x26], al
jmp 0x65945084
mov edx, dword [ebx + 8]
cmp edx, dword [ebx + 0xc]
jae 0x659451d7
add edx, 2
mov dword [ebx + 8], edx
mov ecx, dword [esp + 0x20]
mov edx, 0xffffffff
movsx eax, al
mov word [esp + 0x64], dx
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*2 - 0x30]
mov edx, 1
mov dword [esp + 0x20], eax
jmp 0x65945094
mov eax, dword [edi]
mov byte [esp + 0x25], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x25]
jmp 0x65944fbf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x65944f8e
mov ecx, ebx
call sym.std::basic_streambuf_wchar_t__std::char_traits_wchar_t___::sbumpc____clone_.part.0___clone_.isra.0_
mov eax, dword [esp + 0x20]
mov ecx, 0xffffffff
mov edx, dword [ebx + 8]
mov word [esp + 0x64], cx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x38], eax
jmp 0x65945046
mov dword [esp + 0x60], 0
xor ebx, ebx
jmp 0x65945057
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
jmp 0x659450ff
mov ecx, ebx
mov byte [esp + 0x26], al
call sym.std::basic_streambuf_wchar_t__std::char_traits_wchar_t___::sbumpc____clone_.part.0___clone_.isra.0_
movzx eax, byte [esp + 0x26]
jmp 0x65945142
call dbg.std::__throw_bad_cast()
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop