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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x70]
test byte [eax + 0xc], 1
jne 0x46be20
lea edx, [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 4], edx
call method.std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t____std::num_get_wchar_t__std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t_____._M_extract_int_long__std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t_____std::istreambuf_
sub esp, 0x1c
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], eax
movzx eax, word [esp + 0x2c]
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x3c]
cmp eax, 1
ja 0x46bf90
mov edx, dword [esp + 0x78]
mov byte [edx], al
and byte [edx], 1
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
add eax, 0x6c
lea ecx, [esp + 0x3c]
mov dword [esp], eax
call method.std::__use_cache_std::__numpunct_cache_wchar_t___.operator___std::locale_const__const
mov ecx, dword [eax + 0x20]
mov esi, eax
mov eax, dword [eax + 0x18]
sub esp, 4
test ecx, ecx
sete dl
test eax, eax
sete byte [esp + 0x25]
or ecx, eax
je 0x46c106
mov ebx, 1
mov dword [esp + 0x20], esi
movzx eax, word [esp + 0x64]
xor ebp, ebp
mov byte [esp + 0x26], 1
mov byte [esp + 0x24], bl
jmp 0x46bf06
cmp byte [esp + 0x25], 0
jne 0x46c140
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x14]
cmp word [ecx + ebp*2], ax
sete byte [esp + 0x26]
movzx ecx, byte [esp + 0x26]
mov eax, ecx
xor eax, 1
and al, dl
mov edi, eax
jne 0x46c0f0
or cl, byte [esp + 0x24]
mov esi, ecx
je 0x46c120
mov ecx, dword [esp + 0x60]
add ebp, 1
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x46c0e0
add eax, 2
mov dword [ecx + 8], eax
mov eax, 0xffffffff
cmp byte [esp + 0x24], 0
mov word [esp + 0x64], ax
je 0x46bfd0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x20], ebp
setbe dl
cmp byte [esp + 0x26], 0
jne 0x46bfd2
movzx eax, byte [esp + 0x24]
mov ecx, edx
mov byte [esp + 0x25], al
mov eax, 0xffffffff
test cl, cl
jne 0x46c160
cmp ax, 0xffff
mov ecx, dword [esp + 0x60]
sete al
mov esi, eax
test ecx, ecx
setne al
mov ebx, esi
and al, bl
mov edi, eax
jne 0x46c088
mov ecx, dword [esp + 0x68]
cmp word [esp + 0x6c], 0xffff
sete al
test ecx, ecx
setne bl
and bl, al
mov edi, ebx
jne 0x46bff8
mov ebx, esi
cmp bl, al
je 0x46c030
movzx eax, word [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp ax, 0xffff
jne 0x46bf61
test ecx, ecx
jne 0x46c0b8
test dl, dl
jne 0x46bf75
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x1c]
cmp word [ecx + ebp*2], ax
sete byte [esp + 0x24]
cmp byte [esp + 0x24], 0
je 0x46be70
cmp byte [esp + 0x25], 0
jne 0x46be8b
jmp 0x46be7b
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x60]
mov byte [eax], 1
mov eax, dword [esp + 0x74]
mov dword [eax], 4
lea eax, [esp + 0x68]
mov dword [esp], eax
call method.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
test al, al
je 0x46be04
mov eax, dword [esp + 0x74]
or dword [eax], 2
jmp 0x46be04
mov edx, esi
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], ebp
setbe byte [esp + 0x25]
movzx eax, byte [esp + 0x25]
mov ecx, eax
mov eax, esi
mov byte [esp + 0x26], al
and ecx, edx
jmp 0x46bef9
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x46c170
movzx ecx, word [eax]
xor eax, eax
cmp cx, 0xffff
jne 0x46bf40
mov eax, edi
mov ebx, esi
mov dword [esp + 0x68], 0
cmp bl, al
jne 0x46bf4a
lea esi, [esi]
nop
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, 1
test bl, bl
je 0x46c04f
cmp dword [esi + 0x20], ebp
jne 0x46c04f
test ebp, ebp
jne 0x46c1d3
cmp byte [esp + 0x26], 0
je 0x46c063
cmp dword [esi + 0x18], ebp
jne 0x46c063
test ebp, ebp
jne 0x46c1f6
mov eax, dword [esp + 0x78]
mov byte [eax], 0
test dl, dl
je 0x46c10d
mov eax, dword [esp + 0x74]
mov dword [eax], 6
jmp 0x46be04
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x46c188
movzx eax, word [eax]
xor esi, esi
cmp ax, 0xffff
jne 0x46bf24
mov dword [esp + 0x60], 0
mov esi, edi
jmp 0x46bf24
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x46c1a0
movzx eax, word [eax]
cmp ax, 0xffff
jne 0x46bf61
mov dword [esp + 0x60], 0
jmp 0x46bf61
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x46bec4
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
test bl, bl
je 0x46c120
cmp dword [esi + 0x20], ebp
je 0x46c1b3
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, dword [esp + 0x74]
mov dword [eax], 4
jmp 0x46be04
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, dword [esp + 0x74]
mov dword [eax], 4
jmp 0x46be04
cmp byte [esp + 0x26], 0
mov esi, dword [esp + 0x20]
je 0x46c120
cmp dword [esi + 0x18], ebp
jne 0x46c106
test ebp, ebp
je 0x46c106
mov eax, dword [esp + 0x78]
mov byte [eax], 1
xor eax, eax
jmp 0x46c1c8
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, edi
jmp 0x46c03e
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
mov ecx, eax
jmp 0x46c007
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
jmp 0x46c097
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
jmp 0x46c0c7
test ebp, ebp
je 0x46c106
mov eax, dword [esp + 0x78]
mov byte [eax], 0
xor eax, eax
lea esi, [esi]
mov edx, dword [esp + 0x74]
mov dword [edx], eax
jmp 0x46be04
mov eax, dword [esp + 0x78]
cmp byte [esp + 0x26], 0
mov byte [eax], 0
je 0x46c1ea
cmp dword [esi + 0x18], ebp
je 0x46c10d
test dl, dl
setne al
movzx eax, al
add eax, eax
jmp 0x46c1c8
mov eax, dword [esp + 0x78]
mov byte [eax], 1
jmp 0x46c1ea