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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x4c]
mov esi, ecx
push ebx
sub esp, 0x5c
mov ebx, dword [edi]
mov dword [ebp - 0x34], dbg.__gxx_personality_sj0
mov dword [ebp - 0x30], 0x65a0f8ec
mov dword [esp], edx
call dbg._Unwind_SjLj_Register
mov eax, dword [esi]
mov ecx, dword [ebx]
mov edx, dword [eax - 0xc]
mov edi, dword [ecx - 0xc]
add edx, esi
add edi, ebx
mov dword [esp], edi
mov ecx, edx
mov dword [ebp - 0x50], edx
call dbg.std::ios_base::_M_swap(std::ios_base&)
mov eax, dword [ebp - 0x50]
sub esp, 4
lea ecx, [eax + 0x6c]
mov dword [esp], ecx
mov ecx, eax
mov dword [ebp - 0x48], 0
call dbg.std::basic_ios<wchar_t, std::char_traits<wchar_t> >::_M_cache_locale(std::locale const&)
lea ecx, [edi + 0x6c]
sub esp, 4
mov dword [esp], ecx
mov ecx, edi
call dbg.std::basic_ios<wchar_t, std::char_traits<wchar_t> >::_M_cache_locale(std::locale const&)
mov eax, dword [ebp - 0x50]
mov edx, dword [edi + 0x70]
sub esp, 4
mov ecx, dword [eax + 0x70]
mov dword [eax + 0x70], edx
movzx edx, word [edi + 0x74]
mov dword [edi + 0x70], ecx
movzx ecx, word [eax + 0x74]
mov word [eax + 0x74], dx
movzx edx, byte [edi + 0x76]
mov word [edi + 0x74], cx
movzx ecx, byte [eax + 0x76]
mov byte [eax + 0x76], dl
mov eax, dword [esi + 4]
mov byte [edi + 0x76], cl
mov ecx, dword [ebx + 4]
lea edi, [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, edi
mov dword [ebx + 4], eax
mov dword [ebp - 0x48], 0xffffffff
call dbg.std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::close()
lea eax, [ebx + 0xc]
mov ecx, edi
mov dword [esp], eax
call dbg.std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::operator=(std::basic_streambuf<wchar_t, std::char_traits<wchar_t> > const&)
mov ecx, dword [ebx + 0x34]
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0x4c]
movd xmm0, dword [ebx + 0x40]
sub esp, 4
mov dword [esi + 0x34], ecx
movzx ecx, byte [ebx + 0x38]
mov dword [ebx + 0x34], eax
movzx eax, byte [esi + 0x38]
punpckldq xmm0, xmm0
mov byte [esi + 0x38], cl
movdqu xmm1, xmmword [ebx + 0x3c]
mov byte [ebx + 0x38], al
mov dword [ebx + 0x3c], 0
movups xmmword [esi + 0x3c], xmm1
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x4c], 0
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x50], 1
mov dword [esi + 0x50], eax
movzx eax, byte [ebx + 0x54]
mov byte [ebx + 0x54], 0
mov byte [esi + 0x54], al
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x6c], 0
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x70], 0
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x74], 0
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x78], 0
mov dword [esi + 0x78], eax
movzx eax, byte [ebx + 0x55]
mov byte [ebx + 0x55], 0
movd xmm1, dword [ebx + 0x4c]
mov byte [esi + 0x55], al
movzx eax, byte [ebx + 0x56]
mov byte [ebx + 0x56], 0
movdqa xmm2, xmm1
mov byte [esi + 0x56], al
mov eax, dword [ebx + 0x5c]
punpckldq xmm2, xmm1
mov dword [ebx + 0x5c], 0
mov dword [esi + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x60], 0
mov dword [esi + 0x60], eax
movzx eax, byte [ebx + 0x64]
mov byte [ebx + 0x64], 0
mov byte [esi + 0x64], al
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
movq qword [ebx + 0x10], xmm2
movd dword [ebx + 0x18], xmm1
movq qword [ebx + 0x44], xmm0
mov dword [esp], edx
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 4