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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x7c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [eax - 0xc]
mov ecx, dword [edi + 0xc]
mov dword [ebx + edx], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax - 0xc]
mov eax, dword [esi]
add ecx, ebx
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x5c], ecx
add edx, esi
mov dword [esp], edx
mov dword [ebp - 0x68], edx
call method.std::ios_base._M_move_std::ios_base_
mov ecx, dword [ebp - 0x5c]
sub esp, 4
lea edx, [ecx + 0x6c]
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 - 0x68]
mov ecx, dword [ebp - 0x5c]
sub esp, 4
mov edx, dword [eax + 0x70]
mov dword [eax + 0x70], 0
mov dword [ecx + 0x70], edx
movzx edx, word [eax + 0x74]
movzx eax, byte [eax + 0x76]
mov dword [ecx + 0x78], 0
mov word [ecx + 0x74], dx
mov byte [ecx + 0x76], al
mov eax, dword [edi + 0x10]
mov dword [esi + 4], 0
mov dword [ebx + 8], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 0x14]
mov dword [ebx + eax + 8], edx
mov eax, dword [edi + 4]
mov dword [ebx], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 0x18]
mov dword [ebx + eax], edx
mov eax, dword [edi + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 0x20]
mov dword [ebx + eax], edx
mov eax, dword [edi + 0x24]
lea edx, [esi + 0xc]
mov dword [ebp - 0x70], edx
mov dword [ebx + 8], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x10]
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
test eax, eax
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
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 [esi + 0x30]
je 0x7b84a4
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
sar eax, 0x1f
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x14]
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
sar eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
sub eax, edx
sar eax, 1
mov dword [ebp - 0x38], eax
sar eax, 0x1f
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x7b84e0
mov ecx, eax
mov dword [ebp - 0x5c], eax
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x30], ecx
sar ecx, 0x1f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x20]
sub ecx, dword [ebp - 0x5c]
mov eax, ecx
sar eax, 1
mov dword [ebp - 0x28], eax
sar eax, 0x1f
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x24]
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
sar eax, 0x1f
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.0079b060
mov eax, dword [esi + 0x2c]
lea ecx, [ebx + 0x38]
sub esp, 4
mov dword [ebx + 0xc], 0x877a90
mov dword [ebx + 0x30], ecx
mov edx, dword [esi + 0x30]
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x38]
cmp edx, eax
je 0x7b8630
mov dword [ebx + 0x30], edx
mov edx, dword [esi + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [esi + 0x34]
xor edi, edi
mov dword [ebx + 0x34], edx
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x50]
mov word [esi + 0x38], di
mov edx, dword [ebp - 0x44]
mov dword [esi + 0x34], 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 0x7b856d
mov edx, dword [ebp - 0x38]
lea edi, [edi + edx*2]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x40]
lea eax, [edx + eax*2]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x68]
lea edi, [edx + edi*2]
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 0x7b85e2
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 0x7b85d6
jle 0x7b8620
mov edi, edx
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
sub edi, 2
add eax, 0x80000001
mov ecx, edi
adc edx, 0xffffffff
sub edi, 2
cmp edx, 0
jg 0x7b85b3
jl 0x7b85ce
cmp eax, 0x7fffffff
ja 0x7b85b3
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 [esi + 0x30]
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 [ebx]
mov esi, dword [ebp - 0x6c]
sub esp, 0xc
mov eax, dword [eax - 0xc]
mov dword [ebx + eax + 0x78], esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp dword [ebp - 0x68], 0x7fffffff
jbe 0x7b85d6
jmp 0x7b85a8
mov edx, dword [esi + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [eax + 4]
mov dword [ebx + 0x3c], edx
mov edx, dword [eax + 8]
mov dword [ebx + 0x40], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x44], edx
jmp 0x7b851b