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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x4c]
push ebx
sub esp, 0x5c
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x34], dbg.__gxx_personality_sj0
mov dword [ebp - 0x30], 0x50fe72
mov dword [ebp - 0x2c], ebp
mov dword [ebp - 0x28], 0x4d1df2
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 8]
mov edx, dword [eax - 0xc]
mov dword [ebx], eax
mov dword [ebx + edx], ecx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
add ecx, ebx
mov eax, dword [eax]
add edx, dword [eax - 0xc]
mov dword [ebp - 0x58], edx
mov dword [esp], edx
mov dword [ebp - 0x54], ecx
call dbg.std::ios_base::_M_move(std::ios_base&)
mov edx, dword [ebp - 0x54]
sub esp, 4
lea eax, [edx + 0x6c]
mov ecx, edx
mov dword [esp], eax
mov dword [ebp - 0x48], 0xffffffff
call dbg.std::basic_ios<wchar_t, std::char_traits<wchar_t> >::_M_cache_locale(std::locale const&)
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
sub esp, 4
mov eax, dword [ecx + 0x70]
mov dword [edx + 0x78], 0
mov dword [ecx + 0x70], 0
mov dword [edx + 0x70], eax
movzx eax, word [ecx + 0x74]
mov word [edx + 0x74], ax
movzx eax, byte [ecx + 0x76]
mov byte [edx + 0x76], al
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [eax - 0xc]
mov dword [ebx + eax], edx
mov eax, dword [ebp + 0xc]
lea edx, [ebx + 8]
mov ecx, edx
add eax, 8
mov dword [esp], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x54], edx
call dbg.std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::basic_streambuf(std::basic_streambuf<wchar_t, std::char_traits<wchar_t> > const&)
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x50]
sub esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
mov dword [ebx + 8], 0x529a48
mov esi, dword [ecx + 0x40]
mov edx, dword [edx + 0x4c]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], 0
mov edi, dword [ecx + 0x44]
movzx eax, byte [eax + 0x34]
mov byte [ebx + 0x34], al
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x40], esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x4c], edx
movzx edx, word [esi + 0x50]
mov dword [ebx + 0x38], eax
mov dword [ecx + 0x38], 0
mov eax, dword [ecx + 0x3c]
mov word [ebx + 0x50], dx
mov ecx, dword [ecx + 0x48]
movzx edx, byte [esi + 0x52]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], ecx
xor ecx, ecx
mov dword [esi + 0x48], 0
mov byte [ebx + 0x52], dl
movzx edx, word [esi + 0x54]
mov word [esi + 0x50], cx
mov word [ebx + 0x54], dx
mov edx, dword [esi + 0x58]
mov dword [esi + 0x4c], 1
mov dword [ebx + 0x58], edx
mov edx, dword [esi + 0x5c]
mov byte [esi + 0x52], 0
mov dword [ebx + 0x5c], edx
movzx edx, byte [esi + 0x60]
mov dword [esi + 0x58], 0
mov byte [ebx + 0x60], dl
mov edx, dword [esi + 0x64]
mov dword [esi + 0x5c], 0
mov dword [ebx + 0x64], edx
mov edx, dword [esi + 0x68]
mov byte [esi + 0x60], 0
mov dword [ebx + 0x68], edx
mov edx, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
mov dword [ebx + 0x6c], edx
mov edx, dword [esi + 0x70]
mov dword [esi + 0x6c], 0
mov dword [ebx + 0x70], edx
mov edx, dword [esi + 0x74]
mov dword [esi + 0x70], 0
mov dword [ebx + 0x74], edx
mov dword [esi + 0x74], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov edx, dword [ebp - 0x54]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov eax, dword [ebx]
mov dword [esi + 0x18], 0
mov eax, dword [eax - 0xc]
mov dword [esi + 0x20], 0
mov dword [ebx + eax + 0x78], edx
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8