Function at 0x486540
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 0x4865e0
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 0x486750
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 0x4868c6
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 0x4866c6
cmp byte [esp + 0x25], 0
jne 0x486900
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 0x4868b0
or cl, byte [esp + 0x24]
mov esi, ecx
je 0x4868e0
mov ecx, dword [esp + 0x60]
add ebp, 1
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4868a0
add eax, 2
mov dword [ecx + 8], eax
mov eax, 0xffffffff
cmp byte [esp + 0x24], 0
mov word [esp + 0x64], ax
je 0x486790
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x20], ebp
setbe dl
cmp byte [esp + 0x26], 0
jne 0x486792
movzx eax, byte [esp + 0x24]
mov ecx, edx
mov byte [esp + 0x25], al
mov eax, 0xffffffff
test cl, cl
jne 0x486920
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 0x486848
mov ecx, dword [esp + 0x68]
cmp word [esp + 0x6c], 0xffff
sete al
test ecx, ecx
setne bl
and bl, al
mov edi, ebx
jne 0x4867b8
mov ebx, esi
cmp bl, al
je 0x4867f0
movzx eax, word [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp ax, 0xffff
jne 0x486721
test ecx, ecx
jne 0x486878
test dl, dl
jne 0x486735
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 0x486630
cmp byte [esp + 0x25], 0
jne 0x48664b
jmp 0x48663b
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 0x4865c4
mov eax, dword [esp + 0x74]
or dword [eax], 2
jmp 0x4865c4
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 0x4866b9
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x486930
movzx ecx, word [eax]
xor eax, eax
cmp cx, 0xffff
jne 0x486700
mov eax, edi
mov ebx, esi
mov dword [esp + 0x68], 0
cmp bl, al
jne 0x48670a
lea esi, [esi]
nop
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, 1
test bl, bl
je 0x48680f
cmp dword [esi + 0x20], ebp
jne 0x48680f
test ebp, ebp
jne 0x486993
cmp byte [esp + 0x26], 0
je 0x486823
cmp dword [esi + 0x18], ebp
jne 0x486823
test ebp, ebp
jne 0x4869b6
mov eax, dword [esp + 0x78]
mov byte [eax], 0
test dl, dl
je 0x4868cd
mov eax, dword [esp + 0x74]
mov dword [eax], 6
jmp 0x4865c4
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x486948
movzx eax, word [eax]
xor esi, esi
cmp ax, 0xffff
jne 0x4866e4
mov dword [esp + 0x60], 0
mov esi, edi
jmp 0x4866e4
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x486960
movzx eax, word [eax]
cmp ax, 0xffff
jne 0x486721
mov dword [esp + 0x60], 0
jmp 0x486721
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x486684
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
test bl, bl
je 0x4868e0
cmp dword [esi + 0x20], ebp
je 0x486973
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, dword [esp + 0x74]
mov dword [eax], 4
jmp 0x4865c4
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, dword [esp + 0x74]
mov dword [eax], 4
jmp 0x4865c4
cmp byte [esp + 0x26], 0
mov esi, dword [esp + 0x20]
je 0x4868e0
cmp dword [esi + 0x18], ebp
jne 0x4868c6
test ebp, ebp
je 0x4868c6
mov eax, dword [esp + 0x78]
mov byte [eax], 1
xor eax, eax
jmp 0x486988
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, edi
jmp 0x4867fe
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
mov ecx, eax
jmp 0x4867c7
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
jmp 0x486857
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
jmp 0x486887
test ebp, ebp
je 0x4868c6
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 0x4865c4
mov eax, dword [esp + 0x78]
cmp byte [esp + 0x26], 0
mov byte [eax], 0
je 0x4869aa
cmp dword [esi + 0x18], ebp
je 0x4868cd
test dl, dl
setne al
movzx eax, al
add eax, eax
jmp 0x486988
mov eax, dword [esp + 0x78]
mov byte [eax], 1
jmp 0x4869aa