Function at 0x401271
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x40b200
push 0xffffffffffffffff
push 0x40e611
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCP60.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
lea ecx, [esp + 0x14]
mov dword [esi + 0x34], eax
call ebp
mov eax, dword [sym.imp.MSVCP60.dll_class_std::locale::_Locimp__std::locale::_Locimp::_Global]
lea ecx, [esp + 0x10]
mov edi, dword [eax]
call ebp
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x40b256
inc eax
mov dword [edi + 4], eax
mov edi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0x10]
call edi
lea ecx, [esp + 0x14]
call edi
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
lea edx, [esi + 4]
mov dword [esi], ecx
mov dword [esi + 0xc], edx
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov edx, dword [esi + 0xc]
mov dword [edx], ebx
mov eax, dword [esi + 0x1c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x2c]
mov dword [ecx], ebx
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x3a], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov edx, dword [sym.imp.MSVCP60.dll_const_std::basic_ofstream_char__struct_std::char_traits_char__::vbtable]
lea edi, [esi + 0x48]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], edi
mov dword [edi], edx
mov dword [edi + 0x7c], ebx
mov eax, dword [sym.imp.MSVCP60.dll_const_std::ios_base::vftable]
mov dword [edi + 0x58], eax
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
mov eax, 1
mov dword [edi + 0x58], ecx
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov byte [esp + 0x28], al
lea ebp, [edi + 4]
mov eax, dword [edx + 4]
push ebx
push ebp
mov dword [eax + edi], ecx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
add ecx, edi
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::init_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
lea ecx, [ebp + 0x34]
mov dword [esp + 0x28], 3
mov dword [esp + 0x1c], ebp
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::locale::constructor_void_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov ecx, ebp
mov byte [esp + 0x28], 4
mov dword [ebp], eax
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
lea ecx, [ebp + 0x4c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::locale::constructor_void_]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_filebuf_char__struct_std::char_traits_char__::vftable]
push ebx
mov byte [esp + 0x2c], 6
mov dword [ebp], ecx
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::basic_filebuf_char__struct_std::char_traits_char__::_Init_struct__iobuf___enum_std::basic_filebuf_char__struct_std::char_traits_char__::_Initfl_]
mov edx, dword [edi]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::basic_ofstream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [edx + 4]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi], 0x4101d4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret