Function at 0x4257a4
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7604
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [sym.imp.MSVCP80.dll_const_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbtablefor__std::basic_istream_char__struct_std::char_traits_char__]
mov ecx, dword [sym.imp.MSVCP80.dll_const_std::basic_ios_char__struct_std::char_traits_char__::vftable]
mov dword [ebx], eax
mov edx, dword [sym.imp.MSVCP80.dll_const_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbtablefor__std::basic_ostream_char__struct_std::char_traits_char__]
mov dword [ebp - 0x70], 1
mov dword [ebx + 8], edx
mov dword [ebx + 0x54], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x9c], eax
add eax, 0xc
xor edx, edx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xbc], eax
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
mov edx, dword [sym.imp.MSVCP80.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [ecx]
mov ebx, dword [eax + 4]
xor edi, edi
mov dword [ebx + ecx], edx
mov esi, dword [ecx]
push edi
mov dword [ecx + 4], edi
add ecx, dword [esi + 4]
mov dword [ebp - 0x18], ecx
push edi
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x10], 0x201
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x14], 6
mov dword [ecx + 0x20], edi
call fcn.00420254
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 3
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4258fb
mov dword [ebp - 0x50], 1
call dword [sym.imp.MSVCP80.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov edx, dword [ebp - 0x4c]
mov dword [edx], eax
call dword [sym.imp.MSVCP80.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_]
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 4
mov edx, dword [eax + 4]
cmp edx, 0xffffffff
jae 0x4258df
add edx, 1
mov dword [eax + 4], edx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
jmp 0x4258fd
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x24], ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x28], eax
xor ebx, ebx
mov dword [edx + 0x2c], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x48], eax
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 5
mov edx, dword [eax + 4]
cmp edx, 0xffffffff
jae 0x425945
add edx, 1
mov dword [eax + 4], edx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov dword [ebp - 4], 6
push 0
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 4], 7
mov eax, dword [0x4b5df0]
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.MSVCP80.dll_class_std::locale::id_std::ctype_char_::id]
mov ebx, dword [eax]
test ebx, ebx
jne 0x4259d3
push 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 8
mov edx, dword [eax]
test edx, edx
jne 0x4259b8
mov edx, dword [sym.imp.MSVCP80.dll_int_std::locale::id::_Id_cnt]
mov ecx, dword [edx]
add ecx, 1
mov dword [edx], ecx
mov dword [eax], ecx
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x48]
cmp ebx, dword [eax + 0xc]
jae 0x4259ed
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 8]
mov ecx, dword [edx + ebx*4]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x4259f2
jmp 0x425a18
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [eax + 0x14]
test edx, edx
je 0x425a18
call dword [sym.imp.MSVCP80.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_]
cmp ebx, dword [eax + 0xc]
jae 0x425a13
mov eax, dword [eax + 8]
mov edx, dword [eax + ebx*4]
mov dword [ebp - 0x1c], edx
jmp 0x425a18
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x425d23
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x425a9d
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
push 0
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [ebp - 0x78], 1
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 4]
test edx, edx
jbe 0x425a75
cmp edx, 0xffffffff
jae 0x425a79
add edx, 0xffffffff
mov dword [eax + 4], edx
test edx, edx
je 0x425a7e
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x425a9d
mov ecx, eax
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1c]
push 0x20
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x30], al
mov eax, dword [edx + 0x28]
test eax, eax
je 0x425d0e
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [eax + 4], edx
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0xac], eax
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0xd
mov esi, dword [ebp - 0xac]
mov edx, dword [sym.imp.MSVCP80.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov ebx, dword [sym.imp.MSVCP80.dll_const_std::basic_iostream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ecx + esi], edx
mov edx, dword [ebp - 0x2c]
mov edi, dword [edx]
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [eax + edx], ebx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2c]
mov edx, dword [sym.imp.MSVCP80.dll_const_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vftable]
mov edi, dword [sym.imp.MSVCP80.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov eax, dword [ecx]
mov ebx, dword [eax + 4]
lea esi, [ecx + 0xc]
mov dword [ebp - 0x88], 3
mov dword [ebx + ecx], edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x14], esi
mov dword [ecx + 0xc], edi
mov ecx, dword [ebp - 0x8c]
add ecx, 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Mutex::constructor_void_]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0x10
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x64], eax
test eax, eax
je 0x425bdc
mov dword [ebp - 0x68], 1
call dword [sym.imp.MSVCP80.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
call dword [sym.imp.MSVCP80.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_]
push 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0x11
mov edx, dword [eax + 4]
cmp edx, 0xffffffff
jae 0x425bbd
add edx, 1
mov dword [eax + 4], edx
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
jmp 0x425be1
mov eax, 0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x38], eax
mov esi, dword [ebp - 0x8c]
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
mov ebx, dword [ebp - 0x8c]
lea edi, [ebx + 0xc]
mov dword [ebx + 0x14], edi
mov edx, dword [ebp - 0x8c]
lea eax, [edx + 0x18]
mov dword [edx + 0x20], eax
mov edx, dword [ebp - 0x8c]
lea eax, [edx + 0x1c]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0x8c]
lea eax, [edx + 0x28]
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 0x8c]
lea eax, [edx + 0x2c]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax + 0x14]
mov eax, 0
mov dword [edx], eax
mov edx, dword [ebp - 0x8c]
mov edx, dword [edx + 0x24]
mov dword [edx], eax
mov edx, dword [ebp - 0x8c]
mov edx, dword [edx + 0x34]
mov dword [edx], eax
mov edx, dword [ebp - 0x8c]
mov edx, dword [edx + 0x10]
mov dword [edx], eax
mov edx, dword [ebp - 0x8c]
mov edx, dword [edx + 0x20]
mov dword [edx], eax
mov edx, dword [ebp - 0x8c]
mov edx, dword [edx + 0x30]
mov dword [edx], eax
mov dword [ebp - 4], 0x12
mov edi, dword [ebp - 0x8c]
mov eax, dword [sym.imp.MSVCP80.dll_const_std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__::vftable]
mov dword [edi], eax
mov esi, dword [ebp - 0x88]
and esi, 1
xor ecx, ecx
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x70], ecx
cmp esi, 1
mov edx, 4
cmove edx, ecx
mov esi, dword [ebp - 0x24]
and ebx, 2
mov eax, 2
cmovne eax, ecx
or edx, eax
mov ebx, edx
or ebx, 8
mov eax, dword [ebp - 0x88]
and eax, 8
cmp eax, 0
cmovne edx, ebx
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x20]
and eax, 4
mov eax, 0x10
cmove eax, ecx
or edx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, edx
push 0
mov eax, dword [ecx + 8]
or eax, 4
push eax
call fcn.00420254
jmp 0x425ab8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x425d35
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
jmp 0x425a23
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x425d99
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 9
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x425d8d
mov dword [ebp - 0xc8], 1
xor edx, edx
mov ecx, eax
push edx
push edx
push edx
call fcn.0042184c
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], 0
mov dword [eax], 0x4c339c
jmp 0x425d8f
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov dword [0x4b5df0], eax
push 0
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jae 0x425dcd
mov edx, dword [ebp - 0x1c]
add eax, 1
mov dword [edx + 4], eax
mov dword [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCP80.dll_private:_static_void___cdecl_std::locale::facet::facet_Register_class_std::locale::facet__]
pop ecx
jmp 0x425a23