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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x80]
test byte [eax + 0xc], 1
jne 0x4763d0
lea edx, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov edi, dword [esp + 0x84]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x4c], 0xffffffff
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 + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], eax
movzx eax, word [esp + 0x3c]
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x4c]
cmp eax, 1
ja 0x476540
mov edi, dword [esp + 0x88]
mov byte [edi], al
and byte [edi], 1
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
add eax, 0x6c
call method.std::__use_cache_std::__numpunct_cache_wchar_t___.operator___std::locale_const__const__clone_.isra.0_
mov edi, eax
mov eax, dword [eax + 0x20]
mov ecx, dword [edi + 0x18]
test eax, eax
sete bl
test ecx, ecx
sete byte [esp + 0x34]
or eax, ecx
je 0x4766a0
cmp word [esp + 0x7c], 0xffff
mov eax, 1
mov dword [esp + 0x30], edi
sete byte [esp + 0x36]
xor edx, edx
movzx esi, word [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov edi, edx
mov byte [esp + 0x35], 1
mov edx, eax
jmp 0x476448
mov eax, dword [esp + 0x30]
cmp edi, dword [eax + 0x20]
setae bl
cmp byte [esp + 0x35], 0
jne 0x476521
mov byte [esp + 0x34], dl
mov eax, ebx
mov esi, 0xffffffff
test al, al
jne 0x476700
cmp si, 0xffff
sete byte [esp + 0x2f]
movzx eax, byte [esp + 0x2f]
test ebp, ebp
je 0x476462
test al, al
jne 0x476588
movzx ebp, byte [esp + 0x2f]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x47647a
cmp byte [esp + 0x36], 0
jne 0x4765b0
movzx eax, byte [esp + 0x36]
mov ecx, ebp
cmp al, cl
je 0x4765e0
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x47649c
cmp byte [esp + 0x2f], 0
jne 0x476638
test bl, bl
jne 0x4764ae
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x1c]
cmp word [eax + edi*2], si
sete dl
mov eax, edx
movzx ecx, byte [esp + 0x34]
xor eax, 1
test cl, al
jne 0x476680
test cl, cl
jne 0x4764d4
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
cmp word [eax + edi*2], si
sete byte [esp + 0x35]
movzx ecx, byte [esp + 0x35]
mov eax, ecx
xor eax, 1
and al, bl
mov byte [esp + 0x2f], al
jne 0x4766e0
or cl, dl
mov esi, ecx
je 0x4766a0
mov ebp, dword [esp + 0x70]
add edi, 1
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x476660
add eax, 2
mov dword [ebp + 8], eax
mov eax, 0xffffffff
mov word [esp + 0x74], ax
test dl, dl
jne 0x476420
mov ebx, esi
mov eax, dword [esp + 0x30]
mov ecx, esi
mov byte [esp + 0x35], cl
cmp edi, dword [eax + 0x18]
setae byte [esp + 0x34]
movzx eax, byte [esp + 0x34]
and eax, ebx
jmp 0x47643b
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x70]
mov byte [eax], 1
mov eax, dword [esp + 0x84]
mov dword [eax], 4
lea eax, [esp + 0x78]
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 0x4763bd
mov eax, dword [esp + 0x84]
or dword [eax], 2
jmp 0x4763bd
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x476758
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4766d0
cmp ax, 0xffff
sete al
mov ebp, eax
jmp 0x476467
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x476770
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4766c0
cmp ax, 0xffff
mov ecx, ebp
sete al
cmp al, cl
jne 0x476489
lea esi, [esi]
mov byte [esp + 0x2f], 1
mov eax, edx
mov edx, edi
mov edi, dword [esp + 0x30]
test al, al
je 0x4765fa
cmp dword [edi + 0x20], edx
je 0x476717
cmp byte [esp + 0x35], 0
je 0x47660e
cmp dword [edi + 0x18], edx
jne 0x47660e
test edx, edx
jne 0x47679d
mov eax, dword [esp + 0x88]
cmp byte [esp + 0x2f], 0
mov byte [eax], 0
je 0x4766aa
mov eax, dword [esp + 0x84]
mov dword [eax], 6
jmp 0x4763bd
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x476788
movzx esi, word [eax]
cmp si, 0xffff
jne 0x47649c
mov dword [esp + 0x70], 0
jmp 0x47649c
mov eax, dword [ebp]
mov byte [esp + 0x34], dl
mov ecx, ebp
call dword [eax + 0x28]
movzx edx, byte [esp + 0x34]
jmp 0x47650d
cmp byte [esp + 0x35], 0
mov edx, edi
mov edi, dword [esp + 0x30]
mov byte [esp + 0x2f], 0
jne 0x476601
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x88]
mov byte [eax], 0
mov eax, dword [esp + 0x84]
mov dword [eax], 4
jmp 0x4763bd
mov dword [esp + 0x78], 0
jmp 0x4765c9
mov dword [esp + 0x70], 0
jmp 0x4765a1
mov eax, edx
mov edx, edi
mov edi, dword [esp + 0x30]
test al, al
je 0x4766a0
cmp edx, dword [edi + 0x20]
je 0x47670d
mov byte [esp + 0x2f], 0
jmp 0x47660e
mov eax, edx
mov edx, edi
mov edi, dword [esp + 0x30]
jmp 0x4765ed
mov byte [esp + 0x35], 0
mov byte [esp + 0x2f], 0
test edx, edx
je 0x47660e
mov eax, dword [esp + 0x88]
cmp byte [esp + 0x35], 0
mov byte [eax], 0
je 0x476740
cmp dword [edi + 0x18], edx
je 0x4766aa
lea esi, [esi]
movzx eax, byte [esp + 0x2f]
mov edi, dword [esp + 0x84]
add eax, eax
mov dword [edi], eax
jmp 0x4763bd
mov eax, dword [ebp]
mov byte [esp + 0x37], dl
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, byte [esp + 0x37]
jmp 0x476597
mov eax, dword [ecx]
mov byte [esp + 0x37], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x37]
jmp 0x4765bf
mov eax, dword [ecx]
mov byte [esp + 0x2f], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x2f]
mov esi, eax
jmp 0x476647
mov eax, dword [esp + 0x88]
mov byte [eax], 1
jmp 0x476740