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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 8]
mov edx, dword [eax - 0xc]
mov dword [esi + edx], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax - 0xc]
mov eax, dword [ebx]
add ecx, esi
mov edx, dword [eax - 0xc]
mov edi, ecx
add edx, ebx
mov dword [esp], edx
mov dword [ebp - 0x5c], edx
call method.std::ios_base._M_move_std::ios_base_
lea edx, [edi + 0x6c]
sub esp, 4
mov ecx, edi
mov dword [esp], edx
call method.std::basic_ios_wchar_t__std::char_traits_wchar_t___._M_cache_locale_std::locale_const_
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov edx, dword [eax + 0x70]
mov dword [eax + 0x70], 0
mov dword [edi + 0x70], edx
movzx edx, word [eax + 0x74]
movzx eax, byte [eax + 0x76]
mov dword [edi + 0x78], 0
mov word [edi + 0x74], dx
mov edx, dword [ebp + 8]
mov byte [edi + 0x76], al
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [esi + eax], edx
lea eax, [esi + 8]
lea edx, [ebx + 8]
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x7baf6e
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x10]
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
sar eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x14]
sub eax, edx
sar eax, 1
mov dword [ebp - 0x38], eax
sar eax, 0x1f
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x7bafa6
mov ecx, eax
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x30], ecx
sar ecx, 0x1f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x1c]
sub ecx, eax
mov eax, ecx
sar eax, 1
mov dword [ebp - 0x28], eax
sar eax, 0x1f
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x20]
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
sar eax, 0x1f
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 8]
mov ecx, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.0079b060
mov eax, dword [ebx + 0x28]
lea ecx, [esi + 0x34]
sub esp, 4
mov dword [esi + 8], 0x877a90
mov dword [esi + 0x2c], ecx
mov edx, dword [ebx + 0x2c]
mov dword [esi + 0x28], eax
lea eax, [ebx + 0x34]
cmp edx, eax
je 0x7bb100
mov dword [esi + 0x2c], edx
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x34], edx
mov edx, dword [ebx + 0x30]
xor edi, edi
mov dword [esi + 0x30], edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x50]
mov word [ebx + 0x34], di
mov edx, dword [ebp - 0x44]
mov dword [ebx + 0x30], 0
mov edi, dword [eax + 0x24]
mov ecx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], edi
and edx, eax
cmp edx, 0xffffffff
je 0x7bb033
mov edx, dword [ebp - 0x38]
lea edx, [edi + edx*2]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x60]
lea eax, [edx + eax*2]
lea edi, [edx + edi*2]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
and eax, edi
cmp eax, 0xffffffff
je 0x7bb0af
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
lea ecx, [eax + ecx*2]
lea eax, [eax + edi*2]
mov edi, dword [ebp - 0x5c]
mov edx, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], ecx
jl 0x7bb0a3
jle 0x7bb0f0
mov edi, edx
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
sub edi, 2
lea esi, [esi]
add eax, 0x80000001
mov ecx, edi
adc edx, 0xffffffff
sub edi, 2
cmp edx, 0
jg 0x7bb080
jl 0x7bb09b
cmp eax, 0x7fffffff
ja 0x7bb080
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], eax
mov edx, ecx
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x5c]
lea eax, [edx + eax*2]
mov dword [edi + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x70]
mov dword [esp], eax
call method.std::__cxx11::basic_stringbuf_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_sync_wchar_t__unsigned_int__unsigned_int_
mov eax, dword [esi]
mov ebx, dword [ebp - 0x6c]
sub esp, 0xc
mov eax, dword [eax - 0xc]
mov dword [esi + eax + 0x78], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp dword [ebp - 0x68], 0x7fffffff
jbe 0x7bb0a3
jmp 0x7bb072
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x34], edx
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
mov edx, dword [eax + 8]
mov dword [esi + 0x3c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x40], edx
jmp 0x7bafe1