Function at 0x10037c10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100444d1
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
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 0x100383e3
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x10037cd4
sub ecx, esi
je 0x100383e3
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 0x100466ec
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.NativeMng.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 0x10037d5e
xor ebx, ebx
jmp 0x10037d77
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 0x10037dcd
mov edx, dword [esp + 0xb4]
push str.XgateAddress
push edx
mov ecx, ebp
call sym.NativeMng.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.10034510
push esi
mov ecx, ebp
call sym.NativeMng.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 0x10037ef3
test eax, 0x10000
je 0x10037ec2
mov edx, dword [esp + 0xbc]
cmp edx, edi
je 0x10037e73
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10037df0
sub eax, esi
je 0x10037e73
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 0x100466ec
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.NativeMng.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 0x10037ef3
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.10034510
mov ecx, ebp
call sym.NativeMng.dll__parseFileList_NativeFCMSWrapper__QAEHV__vector_V__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__V_
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 0x10037ef3
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.10034510
push str..xwe
push str.envelope_files__.xwe__.xwe_All_Files__.__._
mov ecx, ebp
call sym.NativeMng.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 0x100383ff
mov esi, dword [esp + 0x20]
cmp esi, edi
mov ecx, dword [esp + 0x24]
jne 0x10037f03
xor eax, eax
jmp 0x10037f1a
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 0x10037f36
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 0x100383f6
mov eax, dword [esp + 0xd4]
and eax, 0x80000
mov dword [esp + 0x58], eax
jne 0x10037f5a
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 0x1003826c
xor ebx, ebx
mov dword [esp + 0x48], ebx
lea esp, [esp]
test esi, esi
je 0x10037f8d
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 0x10037f97
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 0x10
jb 0x10037fa4
mov esi, dword [esi + ebx + 4]
jmp 0x10037fa8
lea esi, [esi + ebx + 4]
mov edi, dword [esp + 0x30]
test edi, edi
je 0x10037fcd
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 0x10037fd7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x30]
cmp dword [edi + ebx + 0x18], 0x10
jb 0x10037fe4
mov eax, dword [edi + ebx + 4]
jmp 0x10037fe8
lea eax, [edi + ebx + 4]
mov ecx, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10038010
test dl, dl
je 0x1003800c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10038010
add eax, 2
add ecx, 2
test dl, dl
jne 0x10037ff0
xor eax, eax
jmp 0x10038015
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
je 0x100381e7
push ebp
lea ecx, [esp + 0x30]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x10038034
mov ecx, dword [eax + 4]
jmp 0x10038037
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 0x10038044
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.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
test eax, eax
jne 0x10038204
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 0x10038093
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test edi, edi
jne 0x10038204
test dword [esp + 0xd4], 0x40000
je 0x100380f0
push ebp
lea ecx, [esp + 0x20]
call fcn.1002e7c0
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x100380c1
mov eax, dword [eax + 4]
jmp 0x100380c4
add eax, 4
push 0
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x100380f5
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 0x100383f7
mov esi, 0x10
push ebp
lea ecx, [esp + 0x20]
call fcn.1002e7c0
cmp dword [eax + 0x18], esi
jb 0x10038109
mov eax, dword [eax + 4]
jmp 0x1003810c
add eax, 4
push 2
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x1003821d
push ebp
lea ecx, [esp + 0x30]
call fcn.1002e7c0
cmp dword [eax + 0x18], esi
jb 0x10038137
mov eax, dword [eax + 4]
jmp 0x1003813a
add eax, 4
lea edx, [esp + 0x4c]
push edx
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x10038236
mov ebx, dword [esp + 0x50]
test ebx, ebx
jg 0x1003824f
mov edi, dword [esp + 0x4c]
jl 0x1003816f
cmp edi, 0xffffffff
ja 0x1003824f
cmp dword [esp + 0x58], 0
jne 0x100381c4
push ebp
lea ecx, [esp + 0x20]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x1003818b
mov esi, dword [eax + 4]
jmp 0x1003818e
lea esi, [eax + 4]
push ebp
lea ecx, [esp + 0x30]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x100381a3
mov eax, dword [eax + 4]
jmp 0x100381a6
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 0x100383c1
add dword [esp + 0x48], 0x1c
add ebp, 1
cmp ebp, dword [esp + 0x40]
jge 0x1003826c
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x10037f70
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 0x100383f7
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 0x100383f7
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 0x100383f7
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 0x100383f7
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 0x100383f7
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 0x10038291
mov ecx, eax
call fcn.10034890
mov esi, eax
jmp 0x10038293
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.10035d30
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x20]
call fcn.10035d30
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 0x10038355
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 0x1003832f
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10038322
sub eax, edx
jne 0x10038365
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.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 0xc
jmp 0x1003841f
cmp eax, 0x44c
jne 0x10038365
mov ecx, dword [esp + 0x18]
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::getCertFromFileMap_void_
cmp dword [esp + 0x58], 0
jne 0x100383db
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x1003838f
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10038380
sub eax, edi
mov eax, edx
jne 0x10038394
mov eax, str.Envelope_File
push ebx
push esi
push sym.NativeMng.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 0x100383ff
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 0x100383f7
push esi
call sym.NativeMng.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::EnvelopeFileWithCertThread_void__
jmp 0x100383ff
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.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
cmp dword [esp + 0x3c], 0x44c
jne 0x1003841f
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 0x10038431
mov eax, dword [esi + 4]
jmp 0x10038434
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
push 0x10046637
mov ecx, esi
mov dword [esp + 0x40], eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1003845e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x54]
test esi, esi
je 0x10038476
mov ecx, esi
call fcn.100348e0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x30]
test edi, edi
je 0x100384d5
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 0x100384d5
cmp edi, ebx
mov ebp, ebx
jbe 0x100384af
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 0x100384bd
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.100346b0
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov ebp, dword [esp + 0x24]
je 0x1003853e
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 0x1003853e
cmp ecx, ebp
mov ebx, ebp
jbe 0x1003850e
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 0x1003851e
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.100346b0
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 0x1003855e
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 0x10038592
cmp ecx, ebp
mov edi, ebp
mov esi, ecx
je 0x10038585
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 0x10038572
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 0x100385d3
mov ebp, dword [esp + 0x34]
cmp edi, ebp
mov esi, edi
je 0x100385ca
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 0x100385b7
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