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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
test byte [eax + 0xc], 1
jne 0x46c0e8
lea edx, [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov esi, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x3c], 0xffffffff
call method.std::istreambuf_iterator_char__std::char_traits_char____std::num_get_char__std::istreambuf_iterator_char__std::char_traits_char_____._M_extract_int_long__std::istreambuf_iterator_char__std::char_traits_char_____std::istreambuf_iterator_char__std::c
sub esp, 0x1c
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], edx
cmp eax, 1
ja 0x46c270
mov byte [ebx], al
and byte [ebx], 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
call method.std::__use_cache_std::__numpunct_cache_char___.operator___std::locale_const__const__clone_.isra.0_
mov edi, eax
mov eax, dword [eax + 0x20]
mov edx, dword [edi + 0x18]
test eax, eax
sete byte [esp + 0x24]
test edx, edx
sete byte [esp + 0x2c]
or eax, edx
je 0x46c3c5
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x6c], 0xffffffff
mov esi, 1
mov byte [esp + 0x2d], 1
sete byte [esp + 0x2e]
xor ebp, ebp
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, ebp
mov ebp, esi
mov esi, edi
mov dword [esp + 0x78], ebx
mov edi, eax
jmp 0x46c16e
cmp edi, dword [esi + 0x20]
setae byte [esp + 0x24]
cmp byte [esp + 0x2d], 0
jne 0x46c24b
mov ebx, ebp
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x2c], bl
mov dword [esp + 0x28], 0xffffffff
test al, al
jne 0x46c420
cmp dword [esp + 0x28], 0xffffffff
sete byte [esp + 0x23]
test ecx, ecx
movzx eax, byte [esp + 0x23]
setne dl
and dl, al
jne 0x46c310
movzx edx, byte [esp + 0x23]
mov ecx, dword [esp + 0x68]
test ecx, ecx
setne bl
and bl, byte [esp + 0x2e]
jne 0x46c2a8
movzx ebx, byte [esp + 0x2e]
cmp dl, bl
je 0x46c2c0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x46c1c2
cmp byte [esp + 0x23], 0
jne 0x46c320
movzx eax, byte [esp + 0x28]
cmp byte [esp + 0x24], 0
jne 0x46c1d9
mov edx, dword [esi + 0x1c]
cmp byte [edx + edi], al
sete cl
mov ebp, ecx
mov edx, ebp
movzx ebx, byte [esp + 0x2c]
xor edx, 1
test bl, dl
jne 0x46c3b0
test bl, bl
jne 0x46c1fa
mov edx, dword [esi + 0x14]
cmp byte [edx + edi], al
sete byte [esp + 0x2d]
movzx eax, byte [esp + 0x2d]
mov edx, eax
xor edx, 1
and dl, byte [esp + 0x24]
mov byte [esp + 0x23], dl
jne 0x46c3d0
mov ebx, ebp
or bl, al
je 0x46c398
mov ecx, dword [esp + 0x60]
add edi, 1
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x46c338
add eax, 1
mov dword [ecx + 8], eax
mov eax, ebp
mov dword [esp + 0x64], 0xffffffff
test al, al
jne 0x46c140
mov byte [esp + 0x24], bl
cmp edi, dword [esi + 0x18]
movzx edx, byte [esp + 0x24]
mov byte [esp + 0x2d], bl
setae byte [esp + 0x2c]
movzx eax, byte [esp + 0x2c]
and edx, eax
mov eax, edx
jmp 0x46c15e
mov eax, dword [esp + 0x74]
mov byte [ebx], 1
lea ecx, [esp + 0x60]
mov dword [eax], 4
lea eax, [esp + 0x68]
mov dword [esp], eax
call method.std::istreambuf_iterator_char__std::char_traits_char___.equal_std::istreambuf_iterator_char__std::char_traits_char____const__const
sub esp, 4
test al, al
je 0x46c0d2
mov eax, dword [esp + 0x74]
or dword [eax], 2
jmp 0x46c0d2
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jae 0x46c370
xor ebx, ebx
cmp dl, bl
jne 0x46c1af
nop
mov eax, edi
mov ebx, dword [esp + 0x78]
mov edi, esi
mov edx, 1
mov esi, ebp
mov ebp, eax
mov eax, esi
test al, al
je 0x46c2e0
cmp dword [edi + 0x20], ebp
je 0x46c3f4
cmp byte [esp + 0x2d], 0
je 0x46c2f4
cmp dword [edi + 0x18], ebp
jne 0x46c2f4
test ebp, ebp
jne 0x46c45b
mov byte [ebx], 0
test dl, dl
je 0x46c39f
mov eax, dword [esp + 0x74]
mov dword [eax], 6
jmp 0x46c0d2
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jae 0x46c350
xor edx, edx
jmp 0x46c18f
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x46c440
movzx eax, byte [eax]
jmp 0x46c1c7
mov eax, dword [ecx]
mov dword [esp + 0x24], ecx
call dword [eax + 0x28]
mov ecx, dword [esp + 0x24]
jmp 0x46c235
mov eax, dword [ecx]
mov byte [esp + 0x2f], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x2f]
cmp eax, 0xffffffff
jne 0x46c318
mov dword [esp + 0x60], 0
jmp 0x46c18f
mov eax, dword [ecx]
mov byte [esp + 0x2f], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x2f]
cmp eax, 0xffffffff
jne 0x46c2b4
mov dword [esp + 0x68], 0
jmp 0x46c1a7
mov ebx, dword [esp + 0x78]
mov byte [ebx], 0
mov eax, dword [esp + 0x74]
mov dword [eax], 4
jmp 0x46c0d2
xor edx, edx
cmp byte [esp + 0x2d], 0
mov ebp, edi
mov ebx, dword [esp + 0x78]
mov edi, esi
jne 0x46c2e7
mov byte [ebx], 0
jmp 0x46c39f
mov eax, edi
mov edi, esi
mov esi, ebp
mov ebx, dword [esp + 0x78]
mov ebp, eax
mov eax, esi
test al, al
je 0x46c3c5
xor edx, edx
cmp dword [edi + 0x20], ebp
jne 0x46c2f4
mov byte [esp + 0x2d], 0
xor edx, edx
test ebp, ebp
je 0x46c2f4
cmp byte [esp + 0x2d], 0
mov byte [ebx], 0
je 0x46c410
cmp dword [edi + 0x18], ebp
je 0x46c39f
lea esi, [esi]
nop
mov esi, dword [esp + 0x74]
movzx eax, dl
add eax, eax
mov dword [esi], eax
jmp 0x46c0d2
mov eax, edi
movzx edx, byte [esp + 0x23]
mov edi, esi
mov ebx, dword [esp + 0x78]
mov esi, ebp
mov ebp, eax
jmp 0x46c2d1
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp eax, 0xffffffff
jne 0x46c1c7
mov dword [esp + 0x60], 0
jmp 0x46c1c7
mov byte [ebx], 1
jmp 0x46c410