Function at 0x10024d90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1002f7e1
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
xor edi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xc0]
push eax
mov byte [esp + 0xb0], 1
mov dword [esp + 0x68], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], edi
call dword [sym.imp.MSVCR80.dll_atoi]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov ecx, dword [ebp + 0x58]
imul eax, eax, 0x64
add esp, 4
mov dword [esp + 0x3c], eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::resetError_void_]
mov eax, dword [esp + 0xb8]
cmp eax, edi
je 0x10025563
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x10024e54
sub ecx, esi
je 0x10025563
push eax
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x10035b24
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebp
mov byte [esp + 0xb8], 3
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::splitList_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______
lea ecx, [esp + 0x88]
mov byte [esp + 0xac], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x10024ede
xor ebx, ebx
jmp 0x10024ef7
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, dword [esp + 0xd4]
test eax, 0x20000
mov dword [esp + 0x40], ebx
je 0x10024f4d
mov edx, dword [esp + 0xb4]
push str.XgateAddress
push edx
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_char____thiscall_NativeFCMSWrapper::getAttribute_unsigned_long_int__char_const__
mov esi, eax
push str..xwe
lea eax, [esp + 0x20]
push eax
sub esp, 0x10
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [esp + 0x7c], esi
call fcn.10021850
push esi
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::makeTempFilePathList_char_const___class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_______char_const__
jmp 0x10025073
test eax, 0x10000
je 0x10025042
mov edx, dword [esp + 0xbc]
cmp edx, edi
je 0x10024ff3
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10024f70
sub eax, esi
je 0x10024ff3
push edx
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov bl, 5
push 0x10035b24
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
mov byte [esp + 0xb8], 6
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::splitList_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0xac], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ebx, dword [esp + 0x40]
jmp 0x10025073
push str..xwe
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x6c]
push ecx
sub esp, 0x10
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xc8], 4
call fcn.10021850
mov ecx, ebp
call sym.NativeMngUAC.dll__parseFileList_NativeFCMSWrapper__QAEHV__vector_V__basic_string_DU__char_traits_D_std__V__allocator_D_2__std_
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x10025073
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.10021850
push str..xwe
push str.envelope_files__.xwe__.xwe_All_Files__.__._
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::selectFileList_char___char___class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______
cmp eax, edi
jne 0x1002557f
mov esi, dword [esp + 0x20]
cmp esi, edi
mov ecx, dword [esp + 0x24]
jne 0x10025083
xor eax, eax
jmp 0x1002509a
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
je 0x100250b6
mov ecx, dword [ebp + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_Count_the_number_of_input_files_and_output_files_are_different
jmp 0x10025576
mov eax, dword [esp + 0xd4]
and eax, 0x80000
mov dword [esp + 0x58], eax
jne 0x100250da
mov ecx, dword [esp + 0x44]
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::initProgress_void_]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp dword [esp + 0x40], ebp
jle 0x100253ec
xor ebx, ebx
mov dword [esp + 0x48], ebx
lea esp, [esp]
test esi, esi
je 0x1002510d
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x10025117
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 0x10
jb 0x10025124
mov esi, dword [esi + ebx + 4]
jmp 0x10025128
lea esi, [esi + ebx + 4]
mov edi, dword [esp + 0x30]
test edi, edi
je 0x1002514d
mov ecx, dword [esp + 0x34]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x10025157
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x30]
cmp dword [edi + ebx + 0x18], 0x10
jb 0x10025164
mov eax, dword [edi + ebx + 4]
jmp 0x10025168
lea eax, [edi + ebx + 4]
mov ecx, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10025190
test dl, dl
je 0x1002518c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10025190
add eax, 2
add ecx, 2
test dl, dl
jne 0x10025170
xor eax, eax
jmp 0x10025195
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
je 0x10025367
push ebp
lea ecx, [esp + 0x30]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x100251b4
mov ecx, dword [eax + 4]
jmp 0x100251b7
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x14], esi
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100251c4
mov ebx, dword [esp + 0x18]
sub eax, esi
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0xfde9
mov ecx, ebx
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
test eax, eax
jne 0x10025384
mov esi, dword [esp + 0x5c]
push 4
push esi
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test esi, esi
mov edi, eax
je 0x10025213
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test edi, edi
jne 0x10025384
test dword [esp + 0xd4], 0x40000
je 0x10025270
push ebp
lea ecx, [esp + 0x20]
call fcn.1001bba0
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x10025241
mov eax, dword [eax + 4]
jmp 0x10025244
add eax, 4
push 0
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x10025275
mov ecx, dword [ebx + 0x58]
push 0x989713
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_Output_file_already_exist
push ebx
jmp 0x10025577
mov esi, 0x10
push ebp
lea ecx, [esp + 0x20]
call fcn.1001bba0
cmp dword [eax + 0x18], esi
jb 0x10025289
mov eax, dword [eax + 4]
jmp 0x1002528c
add eax, 4
push 2
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x1002539d
push ebp
lea ecx, [esp + 0x30]
call fcn.1001bba0
cmp dword [eax + 0x18], esi
jb 0x100252b7
mov eax, dword [eax + 4]
jmp 0x100252ba
add eax, 4
lea edx, [esp + 0x4c]
push edx
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x100253b6
mov ebx, dword [esp + 0x50]
test ebx, ebx
jg 0x100253cf
mov edi, dword [esp + 0x4c]
jl 0x100252ef
cmp edi, 0xffffffff
ja 0x100253cf
cmp dword [esp + 0x58], 0
jne 0x10025344
push ebp
lea ecx, [esp + 0x20]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x1002530b
mov esi, dword [eax + 4]
jmp 0x1002530e
lea esi, [eax + 4]
push ebp
lea ecx, [esp + 0x30]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10025323
mov eax, dword [eax + 4]
jmp 0x10025326
add eax, 4
mov ecx, dword [esp + 0x44]
push 1
push ebx
push edi
push esi
push eax
push ebp
push 0xfde9
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::addProgressFile_unsigned_int__int__char_const___char_const___long_long___int64___unsigned_long_int_]
test eax, eax
jne 0x10025541
add dword [esp + 0x48], 0x1c
add ebp, 1
cmp ebp, dword [esp + 0x40]
jge 0x100253ec
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x100250f0
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_Input_file_name_and_output_file_name_is_the_same
push esi
jmp 0x10025577
mov ecx, dword [ebx + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_Input_File_open_fail
push ebx
jmp 0x10025577
mov ecx, dword [ebx + 0x58]
push 0x989714
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_Output_directory_write_fail
push ebx
jmp 0x10025577
mov ecx, dword [ebx + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_Failed_to_get_the_file_size
push ebx
jmp 0x10025577
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x58]
push 0x989715
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_The_file_size_is_greater_than_3.9GB_4_294_967_295_byte_
push esi
jmp 0x10025577
push 0x38
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xac], 7
je 0x10025411
mov ecx, eax
call fcn.10021b80
mov esi, eax
jmp 0x10025413
xor esi, esi
push 0x38
push 0
push esi
mov byte [esp + 0xb8], 1
mov dword [esp + 0x60], esi
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xd0]
mov dword [esi + 4], ecx
add esp, 0xc
lea ecx, [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0xc8]
push ecx
lea ecx, [esi + 0x10]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call fcn.10022eb0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x20]
call fcn.10022eb0
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xd4]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x190
mov dword [esi + 0x34], ebx
jne 0x100254d5
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x58]
push 1
push 0
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::getMediaList_int__int__int_]
test eax, eax
je 0x100254af
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100254a2
sub eax, edx
jne 0x100254e5
mov ecx, dword [edi + 0x58]
push 0x98bd9e
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push 0x190
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_to_getMediaList__d_
push edi
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 0xc
jmp 0x1002559f
cmp eax, 0x44c
jne 0x100254e5
mov ecx, dword [esp + 0x18]
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::getCertFromFileMap_void_
cmp dword [esp + 0x58], 0
jne 0x1002555b
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x1002550f
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10025500
sub eax, edi
mov eax, edx
jne 0x10025514
mov eax, str.Envelope_File
push ebx
push esi
push sym.NativeMngUAC.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::EnvelopeFileWithCertThread_void__
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x74]
push edx
push eax
push str.AnySign_for_PC_FCMS
push 0xfde9
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::progressDialog_unsigned_int__char_const___char_const___void____unsigned_long_int___unsigned_int____stdcall___void____void___int_]
test eax, eax
je 0x1002557f
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_to_XFClientUI
push esi
jmp 0x10025577
push esi
call sym.NativeMngUAC.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::EnvelopeFileWithCertThread_void__
jmp 0x1002557f
mov ecx, dword [ebp + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithCert__Fail_:_aInFilePath_is_null
push ebp
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
cmp dword [esp + 0x3c], 0x44c
jne 0x1002559f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x58]
push 1
push 0
push 0x44c
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::getMediaList_int__int__int_]
mov esi, dword [esp + 0x18]
add esi, 4
cmp dword [esi + 0x18], 0x10
jb 0x100255b1
mov eax, dword [esi + 4]
jmp 0x100255b4
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
push 0x10033982
mov ecx, esi
mov dword [esp + 0x40], eax
call dword [0x100321b0]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x100255de
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x54]
test esi, esi
je 0x100255f6
mov ecx, esi
call fcn.10021bd0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x30]
test edi, edi
je 0x10025655
mov ebx, dword [esp + 0x34]
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x10025655
cmp edi, ebx
mov ebp, ebx
jbe 0x1002562f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
cmp edi, ebx
lea esi, [esp + 0x2c]
jbe 0x1002563d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push esi
lea eax, [esp + 0x34]
push edi
push eax
lea edx, [esp + 0x5c]
push edx
mov ecx, eax
call fcn.100219f0
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov ebp, dword [esp + 0x24]
je 0x100256be
mov esi, ebp
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100256be
cmp ecx, ebp
mov ebx, ebp
jbe 0x1002568e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
lea esi, [esp + 0x1c]
mov edi, ecx
jbe 0x1002569e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push esi
lea eax, [esp + 0x24]
push edi
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.100219f0
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
xor ebx, ebx
cmp eax, ebx
je 0x100256de
push eax
call dword [sym.imp.MSVCR80.dll_free]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 4
cmp ecx, ebx
mov byte [esp + 0xac], 0
je 0x10025712
cmp ecx, ebp
mov edi, ebp
mov esi, ecx
je 0x10025705
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x100256f2
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edi, dword [esp + 0x34]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xac], 0xffffffff
je 0x10025753
mov ebp, dword [esp + 0x34]
cmp edi, ebp
mov esi, edi
je 0x1002574a
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, ebp
jne 0x10025737
mov edi, dword [esp + 0x30]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 0x24