Function at 0x459550
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 0x4595f0
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 0x459760
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 fcn.00429830
mov edx, eax
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x18]
test eax, eax
sete bl
test ecx, ecx
sete byte [esp + 0x34]
or eax, ecx
je 0x4598b8
cmp word [esp + 0x7c], 0xffff
mov eax, 1
mov dword [esp + 0x30], edx
sete byte [esp + 0x36]
movzx esi, word [esp + 0x74]
mov ebp, dword [esp + 0x70]
xor edi, edi
mov byte [esp + 0x35], 1
mov edx, eax
jmp 0x459668
mov eax, dword [esp + 0x30]
cmp edi, dword [eax + 0x20]
setae bl
cmp byte [esp + 0x35], 0
jne 0x459741
mov byte [esp + 0x34], dl
mov eax, ebx
mov esi, 0xffffffff
test al, al
jne 0x459918
cmp si, 0xffff
sete byte [esp + 0x2f]
movzx eax, byte [esp + 0x2f]
test ebp, ebp
je 0x459682
test al, al
jne 0x4597a8
movzx ebp, byte [esp + 0x2f]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x45969a
cmp byte [esp + 0x36], 0
jne 0x4597d0
movzx eax, byte [esp + 0x36]
mov ecx, ebp
cmp al, cl
je 0x459800
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4596bc
cmp byte [esp + 0x2f], 0
jne 0x459858
test bl, bl
jne 0x4596ce
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 0x4598a0
test cl, cl
jne 0x4596f4
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 0x4598f8
or cl, dl
mov esi, ecx
je 0x4598b8
mov ebp, dword [esp + 0x70]
add edi, 1
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x459880
add eax, 2
mov dword [ebp + 8], eax
mov eax, 0xffffffff
mov word [esp + 0x74], ax
test dl, dl
jne 0x459640
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 0x45965b
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 0x4595dd
mov eax, dword [esp + 0x84]
or dword [eax], 2
jmp 0x4595dd
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x459968
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4598e8
cmp ax, 0xffff
sete al
mov ebp, eax
jmp 0x459687
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x459980
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4598d8
cmp ax, 0xffff
mov ecx, ebp
sete al
cmp al, cl
jne 0x4596a9
lea esi, [esi]
mov byte [esp + 0x2f], 1
mov eax, edx
mov edx, dword [esp + 0x30]
test al, al
je 0x459818
cmp dword [edx + 0x20], edi
je 0x45992d
cmp byte [esp + 0x35], 0
je 0x45982c
cmp dword [edx + 0x18], edi
jne 0x45982c
test edi, edi
jne 0x4599ad
mov eax, dword [esp + 0x88]
cmp byte [esp + 0x2f], 0
mov byte [eax], 0
je 0x4598c2
mov eax, dword [esp + 0x84]
mov dword [eax], 6
jmp 0x4595dd
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x459998
movzx esi, word [eax]
cmp si, 0xffff
jne 0x4596bc
mov dword [esp + 0x70], 0
jmp 0x4596bc
mov eax, dword [ebp]
mov byte [esp + 0x34], dl
mov ecx, ebp
call dword [eax + 0x28]
movzx edx, byte [esp + 0x34]
jmp 0x45972d
cmp byte [esp + 0x35], 0
mov edx, dword [esp + 0x30]
mov byte [esp + 0x2f], 0
jne 0x45981f
lea esi, [esi]
mov eax, dword [esp + 0x88]
mov byte [eax], 0
mov eax, dword [esp + 0x84]
mov dword [eax], 4
jmp 0x4595dd
mov dword [esp + 0x78], 0
jmp 0x4597e9
mov dword [esp + 0x70], 0
jmp 0x4597c1
mov eax, edx
mov edx, dword [esp + 0x30]
test al, al
je 0x4598b8
cmp dword [edx + 0x20], edi
je 0x459923
mov byte [esp + 0x2f], 0
jmp 0x45982c
mov eax, edx
mov edx, dword [esp + 0x30]
jmp 0x45980b
mov byte [esp + 0x35], 0
mov byte [esp + 0x2f], 0
test edi, edi
je 0x45982c
mov eax, dword [esp + 0x88]
cmp byte [esp + 0x35], 0
mov byte [eax], 0
je 0x459950
cmp dword [edx + 0x18], edi
je 0x4598c2
nop
movzx eax, byte [esp + 0x2f]
mov edi, dword [esp + 0x84]
add eax, eax
mov dword [edi], eax
jmp 0x4595dd
mov eax, dword [ebp]
mov byte [esp + 0x37], dl
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, byte [esp + 0x37]
jmp 0x4597b7
mov eax, dword [ecx]
mov byte [esp + 0x37], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x37]
jmp 0x4597df
mov eax, dword [ecx]
mov byte [esp + 0x2f], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x2f]
mov esi, eax
jmp 0x459867
mov eax, dword [esp + 0x88]
mov byte [eax], 1
jmp 0x459950