Function at 0x460170
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 0x460210
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 0x460380
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 0x4604f6
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 0x4602f6
cmp byte [esp + 0x25], 0
jne 0x460530
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 0x4604e0
or cl, byte [esp + 0x24]
mov esi, ecx
je 0x460510
mov ecx, dword [esp + 0x60]
add ebp, 1
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4604d0
add eax, 2
mov dword [ecx + 8], eax
mov eax, 0xffffffff
cmp byte [esp + 0x24], 0
mov word [esp + 0x64], ax
je 0x4603c0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x20], ebp
setbe dl
cmp byte [esp + 0x26], 0
jne 0x4603c2
movzx eax, byte [esp + 0x24]
mov ecx, edx
mov byte [esp + 0x25], al
mov eax, 0xffffffff
test cl, cl
jne 0x460550
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 0x460478
mov ecx, dword [esp + 0x68]
cmp word [esp + 0x6c], 0xffff
sete al
test ecx, ecx
setne bl
and bl, al
mov edi, ebx
jne 0x4603e8
mov ebx, esi
cmp bl, al
je 0x460420
movzx eax, word [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp ax, 0xffff
jne 0x460351
test ecx, ecx
jne 0x4604a8
test dl, dl
jne 0x460365
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 0x460260
cmp byte [esp + 0x25], 0
jne 0x46027b
jmp 0x46026b
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 0x4601f4
mov eax, dword [esp + 0x74]
or dword [eax], 2
jmp 0x4601f4
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 0x4602e9
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x460560
movzx ecx, word [eax]
xor eax, eax
cmp cx, 0xffff
jne 0x460330
mov eax, edi
mov ebx, esi
mov dword [esp + 0x68], 0
cmp bl, al
jne 0x46033a
lea esi, [esi]
nop
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, 1
test bl, bl
je 0x46043f
cmp dword [esi + 0x20], ebp
jne 0x46043f
test ebp, ebp
jne 0x4605c3
cmp byte [esp + 0x26], 0
je 0x460453
cmp dword [esi + 0x18], ebp
jne 0x460453
test ebp, ebp
jne 0x4605e6
mov eax, dword [esp + 0x78]
mov byte [eax], 0
test dl, dl
je 0x4604fd
mov eax, dword [esp + 0x74]
mov dword [eax], 6
jmp 0x4601f4
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x460578
movzx eax, word [eax]
xor esi, esi
cmp ax, 0xffff
jne 0x460314
mov dword [esp + 0x60], 0
mov esi, edi
jmp 0x460314
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x460590
movzx eax, word [eax]
cmp ax, 0xffff
jne 0x460351
mov dword [esp + 0x60], 0
jmp 0x460351
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x4602b4
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
test bl, bl
je 0x460510
cmp dword [esi + 0x20], ebp
je 0x4605a3
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, dword [esp + 0x74]
mov dword [eax], 4
jmp 0x4601f4
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, dword [esp + 0x74]
mov dword [eax], 4
jmp 0x4601f4
cmp byte [esp + 0x26], 0
mov esi, dword [esp + 0x20]
je 0x460510
cmp dword [esi + 0x18], ebp
jne 0x4604f6
test ebp, ebp
je 0x4604f6
mov eax, dword [esp + 0x78]
mov byte [eax], 1
xor eax, eax
jmp 0x4605b8
movzx ebx, byte [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, edi
jmp 0x46042e
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
mov ecx, eax
jmp 0x4603f7
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
jmp 0x460487
mov eax, dword [ecx]
mov byte [esp + 0x27], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x27]
jmp 0x4604b7
test ebp, ebp
je 0x4604f6
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 0x4601f4
mov eax, dword [esp + 0x78]
cmp byte [esp + 0x26], 0
mov byte [eax], 0
je 0x4605da
cmp dword [esi + 0x18], ebp
je 0x4604fd
test dl, dl
setne al
movzx eax, al
add eax, eax
jmp 0x4605b8
mov eax, dword [esp + 0x78]
mov byte [eax], 1
jmp 0x4605da