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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aadd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
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.004562e0
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 0x45719b
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 0x45717f
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 0x45719d
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 0x4571e5
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 0x457273
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 0x457258
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 0x45728d
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 0x457292
jmp 0x4572b8
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [eax + 0x14]
test edx, edx
je 0x4572b8
call dword [sym.imp.MSVCP80.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Getgloballocale_void_]
cmp ebx, dword [eax + 0xc]
jae 0x4572b3
mov eax, dword [eax + 8]
mov edx, dword [eax + ebx*4]
mov dword [ebp - 0x1c], edx
jmp 0x4572b8
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4575c3
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 0x45733d
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], 0x12
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 4]
test edx, edx
jbe 0x457315
cmp edx, 0xffffffff
jae 0x457319
add edx, 0xffffffff
mov dword [eax + 4], edx
test edx, edx
je 0x45731e
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 0x45733d
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 0x4575ae
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [eax + 4], edx
mov dword [ebp - 4], 0x13
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], 0x14
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], 0x15
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], 0x16
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0x17
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x64], eax
test eax, eax
je 0x45747c
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], 0x18
mov edx, dword [eax + 4]
cmp edx, 0xffffffff
jae 0x45745d
add edx, 1
mov dword [eax + 4], edx
mov dword [ebp - 4], 0x17
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 0x457481
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], 0x19
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.004562e0
jmp 0x457358
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4575d5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
jmp 0x4572c3
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4577b0
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 0x4577a4
mov edx, dword [sym.imp.MSVCP80.dll_const_std::ctype_base::vftable]
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xdc], eax
mov dword [eax + 4], 0
mov dword [eax], edx
mov dword [ebp - 4], 0xa
push 0x4b0440
mov edx, dword [sym.imp.MSVCP80.dll_const_std::ctype_char_::vftable]
mov dword [eax], edx
lea ecx, [ebp - 0x160]
call fcn.004501c0
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVCP80.dll__Getctype]
pop ecx
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xe0]
mov edi, dword [ebp - 0xc4]
lea ebx, [ebp - 0x160]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], esi
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 0xf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.MSVCP80.dll_public:_static_void___cdecl_std::_Locinfo::_Locinfo_dtor_class_std::_Locinfo__]
pop ecx
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0xf0]
cmp eax, 0x10
jae 0x45783a
mov dword [ebp - 0xf0], 0xf
xor eax, eax
mov dword [ebp - 0xf4], eax
mov byte [ebp - 0x104], al
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x10c]
cmp eax, 0x10
jae 0x457829
mov dword [ebp - 0x10c], 0xf
xor eax, eax
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x120], al
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x128]
cmp eax, 0x10
jae 0x457818
mov dword [ebp - 0x128], 0xf
xor eax, eax
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x13c], al
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x144]
cmp eax, 0x10
jae 0x457807
mov dword [ebp - 0x144], 0xf
xor eax, eax
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x158], al
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], 0
mov dword [eax], 0x4c339c
jmp 0x4577a6
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], 0x11
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jae 0x4577e4
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 0x4572c3
push dword [ebp - 0x158]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x457761
push dword [ebp - 0x13c]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x457733
push dword [ebp - 0x120]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x457705
push dword [ebp - 0x104]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4576d7