Function at 0x458640
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 0x4586d0
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 edi, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], edi
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 0x458840
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov byte [edi], al
and byte [edi], 1
add esp, 0x4c
mov eax, esi
mov edx, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov edi, dword [esp + 0x68]
add eax, 0x6c
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x28], edi
call method.std::__use_cache_std::__numpunct_cache_char___.operator___std::locale_const__const__clone_.isra.0_
mov edx, dword [eax + 0x20]
mov edi, eax
mov eax, dword [eax + 0x18]
mov ebx, edx
or ebx, eax
je 0x458976
test edx, edx
mov byte [esp + 0x2d], 1
sete byte [esp + 0x23]
test eax, eax
sete byte [esp + 0x2c]
cmp dword [esp + 0x6c], 0xffffffff
mov byte [esp + 0x22], 1
sete byte [esp + 0x2e]
xor ebx, ebx
mov dword [esp + 0x24], ebp
mov ebp, ebx
lea esi, cs:[esi]
lea esi, [esi]
cmp dword [esp + 0x24], 0xffffffff
sete byte [esp + 0x21]
test esi, esi
movzx eax, byte [esp + 0x21]
setne bl
and bl, al
jne 0x458918
movzx ebx, byte [esp + 0x21]
mov eax, dword [esp + 0x28]
test eax, eax
setne dl
and dl, byte [esp + 0x2e]
jne 0x4588b0
movzx edx, byte [esp + 0x2e]
cmp dl, bl
je 0x4588d0
test esi, esi
je 0x458780
cmp byte [esp + 0x21], 0
jne 0x458930
movzx eax, byte [esp + 0x24]
cmp byte [esp + 0x23], 0
jne 0x458797
mov edx, dword [edi + 0x1c]
cmp byte [edx + ebp], al
sete byte [esp + 0x22]
movzx edx, byte [esp + 0x22]
movzx ecx, byte [esp + 0x2c]
xor edx, 1
test cl, dl
jne 0x4589a0
test cl, cl
jne 0x4587bb
mov edx, dword [edi + 0x14]
cmp byte [edx + ebp], al
sete byte [esp + 0x2d]
movzx eax, byte [esp + 0x2d]
mov edx, eax
xor edx, 1
and dl, byte [esp + 0x23]
jne 0x458960
movzx ebx, byte [esp + 0x22]
or bl, al
je 0x4589b8
mov eax, dword [esi + 8]
add ebp, 1
cmp eax, dword [esi + 0xc]
jae 0x458948
add eax, 1
mov dword [esi + 8], eax
cmp byte [esp + 0x22], 0
je 0x458890
cmp ebp, dword [edi + 0x20]
setae byte [esp + 0x23]
cmp byte [esp + 0x2d], 0
jne 0x458894
movzx ebx, byte [esp + 0x22]
movzx eax, byte [esp + 0x23]
mov byte [esp + 0x2c], bl
mov dword [esp + 0x24], 0xffffffff
test al, al
je 0x458730
mov ebx, ebp
mov ecx, edx
mov ebp, 0xffffffff
jmp 0x4588db
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_char__std::char_traits_char___.equal_std::istreambuf_iterator_char__std::char_traits_char____const__const
sub esp, 4
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
test al, al
je 0x4586ba
mov eax, dword [esp + 0x74]
mov edx, ebp
or dword [eax], 2
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov byte [esp + 0x23], bl
cmp ebp, dword [edi + 0x18]
mov byte [esp + 0x2d], bl
setae byte [esp + 0x2c]
movzx eax, byte [esp + 0x2c]
and al, byte [esp + 0x23]
jmp 0x45881d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
cmp dword [eax + 8], ecx
jae 0x4589e8
xor edx, edx
cmp dl, bl
jne 0x458771
lea esi, [esi]
mov ebx, ebp
mov ebp, dword [esp + 0x24]
mov ecx, 1
cmp byte [esp + 0x22], 0
je 0x4588eb
cmp dword [edi + 0x20], ebx
je 0x458a40
cmp byte [esp + 0x2d], 0
je 0x4588ff
cmp dword [edi + 0x18], ebx
jne 0x4588ff
test ebx, ebx
jne 0x458a8d
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, 6
test cl, cl
jne 0x458982
jmp 0x45897d
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jae 0x4589c8
xor ebx, ebx
jmp 0x458751
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x458a20
movzx eax, byte [eax]
jmp 0x458785
mov eax, dword [esi]
mov byte [esp + 0x21], dl
mov ecx, esi
call dword [eax + 0x28]
movzx edx, byte [esp + 0x21]
jmp 0x4587f1
cmp byte [esp + 0x22], 0
mov ebx, ebp
mov ebp, dword [esp + 0x24]
je 0x458976
cmp ebx, dword [edi + 0x20]
je 0x458a7a
mov eax, dword [esp + 0x78]
mov byte [eax], 0
mov eax, 4
mov edi, dword [esp + 0x74]
mov edx, ebp
mov dword [edi], eax
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
xor ecx, ecx
cmp byte [esp + 0x2d], 0
mov ebx, ebp
mov ebp, dword [esp + 0x24]
jne 0x4588f2
jmp 0x458976
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x24]
mov byte [eax], 0
jmp 0x45897d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, 0xffffffff
mov eax, 0
cmove esi, eax
cmovne ebx, eax
jmp 0x458751
mov ecx, eax
mov eax, dword [eax]
mov byte [esp + 0x2f], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x2f]
cmp eax, 0xffffffff
mov eax, 0
cmovne eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, 0
cmovne edx, eax
jmp 0x458769
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov edx, 0xffffffff
cmp eax, 0xffffffff
cmove eax, edx
mov edx, 0
cmove esi, edx
jmp 0x458785
test ebx, ebx
je 0x4588ff
mov eax, dword [esp + 0x78]
cmp byte [esp + 0x2d], 0
mov byte [eax], 0
je 0x458a70
mov eax, 4
cmp dword [edi + 0x18], ebx
je 0x458982
lea esi, cs:[esi]
lea esi, [esi]
movzx eax, cl
add eax, eax
jmp 0x458982
test ebx, ebx
je 0x458976
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov byte [eax], 0
jmp 0x458a70
mov eax, dword [esp + 0x78]
mov byte [eax], 1
jmp 0x458a70