Function at 0x10037430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10044458
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov ecx, dword [ebp + 0x58]
mov byte [esp + 0x9c], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::resetError_void_]
mov eax, dword [esp + 0xb0]
cmp eax, edi
je 0x10037a87
mov edx, dword [esp + 0xa8]
cmp edx, edi
je 0x10037a87
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100374d4
sub eax, esi
je 0x10037a87
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100374f0
sub eax, esi
je 0x10037a87
push edx
lea ecx, [esp + 0x7c]
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 + 0x60]
mov byte [esp + 0xa0], 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 eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, ebp
mov byte [esp + 0xa8], 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 + 0x5c]
mov byte [esp + 0x9c], 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 + 0x78]
mov byte [esp + 0x9c], 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_]
lea ecx, [esp + 0x4c]
call fcn.1002e790
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
test eax, 0x20000
je 0x100375c4
mov eax, dword [esp + 0xa4]
push str.XgateAddress
push eax
mov ecx, ebp
call sym.NativeMng.dll_public:_char____thiscall_NativeFCMSWrapper::getAttribute_unsigned_long_int__char_const__
push str..xwe
lea ecx, [esp + 0x40]
push ecx
sub esp, 0x10
lea edx, [esp + 0x64]
mov esi, eax
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x48], 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 0x100376d9
test eax, 0x10000
je 0x100376a8
mov edx, dword [esp + 0xac]
cmp edx, edi
je 0x10037659
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100375e0
sub eax, esi
je 0x10037659
push edx
lea ecx, [esp + 0x60]
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 + 0x7c]
mov byte [esp + 0xa0], 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 + 0x3c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, ebp
mov byte [esp + 0xa8], 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 + 0x78]
mov byte [esp + 0x9c], 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 + 0x5c]
mov byte [esp + 0x9c], 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 0x100376d9
push str..xwe
lea ecx, [esp + 0x7c]
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 + 0x3c]
push eax
lea ecx, [esp + 0x7c]
push ecx
sub esp, 0x10
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0xb8], 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 + 0x78]
mov byte [esp + 0x9c], 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 0x100376d9
lea eax, [esp + 0x3c]
push eax
sub esp, 0x10
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x34], 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 0x10037aa3
lea ecx, [esp + 0x3c]
call fcn.1002e790
cmp dword [esp + 0x18], eax
je 0x10037700
mov ecx, dword [ebp + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_Count_the_number_of_input_files_and_output_files_are_different
jmp 0x10037a9a
mov ebx, dword [esp + 0xb8]
and ebx, 0x80000
mov dword [esp + 0x20], ebx
jne 0x1003771d
mov ecx, dword [esp + 0x1c]
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::initProgress_void_]
xor ebp, ebp
cmp dword [esp + 0x18], edi
jle 0x100378e1
lea esp, [esp]
push ebp
lea ecx, [esp + 0x40]
call fcn.1002e7c0
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10037749
mov esi, dword [eax + 4]
jmp 0x1003774c
lea esi, [eax + 4]
push ebp
lea ecx, [esp + 0x50]
call fcn.1002e7c0
cmp dword [eax + 0x18], edi
jb 0x10037760
mov eax, dword [eax + 4]
jmp 0x10037763
add eax, 4
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10037785
test dl, dl
je 0x10037781
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10037785
add eax, 2
add ecx, 2
test dl, dl
jne 0x10037765
xor eax, eax
jmp 0x1003778a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1003790d
push ebp
lea ecx, [esp + 0x50]
call fcn.1002e7c0
cmp dword [eax + 0x18], edi
jb 0x100377a6
mov eax, dword [eax + 4]
jmp 0x100377a9
add eax, 4
mov esi, dword [esp + 0x14]
push 4
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x10037932
test dword [esp + 0xb8], 0x40000
je 0x100377ff
push ebp
lea ecx, [esp + 0x40]
call fcn.1002e7c0
cmp dword [eax + 0x18], edi
jb 0x100377e5
mov eax, dword [eax + 4]
jmp 0x100377e8
add eax, 4
push 0
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
je 0x1003794b
push ebp
lea ecx, [esp + 0x40]
call fcn.1002e7c0
cmp dword [eax + 0x18], edi
jb 0x10037813
mov eax, dword [eax + 4]
jmp 0x10037816
add eax, 4
push 2
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x10037964
push ebp
lea ecx, [esp + 0x50]
call fcn.1002e7c0
cmp dword [eax + 0x18], edi
jb 0x10037841
mov eax, dword [eax + 4]
jmp 0x10037844
add eax, 4
lea ecx, [esp + 0x34]
push ecx
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x1003797d
mov ebx, dword [esp + 0x38]
test ebx, ebx
jg 0x10037996
mov edi, dword [esp + 0x34]
jl 0x10037879
cmp edi, 0xffffffff
ja 0x10037996
cmp dword [esp + 0x20], 0
jne 0x100378ce
push ebp
lea ecx, [esp + 0x40]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x10037895
mov esi, dword [eax + 4]
jmp 0x10037898
lea esi, [eax + 4]
push ebp
lea ecx, [esp + 0x50]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x100378ad
mov eax, dword [eax + 4]
jmp 0x100378b0
add eax, 4
mov ecx, dword [esp + 0x1c]
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 0x10037a65
add ebp, 1
cmp ebp, dword [esp + 0x18]
jl 0x10037730
mov ebx, dword [esp + 0x20]
xor edi, edi
push 0x30
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x9c], 7
je 0x100379af
mov ecx, eax
call fcn.100347e0
mov esi, eax
jmp 0x100379b1
mov esi, dword [esp + 0x14]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_Input_file_name_and_output_file_name_is_the_same
push esi
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
mov ecx, dword [esi + 0x58]
add esp, 8
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x10037aa3
mov ecx, dword [esi + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_Input_File_open_fail
push esi
jmp 0x10037a9b
mov ecx, dword [esi + 0x58]
push 0x989713
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_Output_file_already_exist
push esi
jmp 0x10037a9b
mov ecx, dword [esi + 0x58]
push 0x989714
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_Output_directory_write_fail
push esi
jmp 0x10037a9b
mov ecx, dword [esi + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_Failed_to_get_the_file_size
push esi
jmp 0x10037a9b
mov ecx, dword [esi + 0x58]
push 0x989715
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_The_file_size_is_greater_than_3.9GB_4_294_967_295_byte_
push esi
jmp 0x10037a9b
xor esi, esi
push 0x30
push edi
push esi
mov byte [esp + 0xa8], 1
mov dword [esp + 0x34], esi
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xbc]
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esi + 8]
mov dword [esi], edx
mov dword [esi + 4], eax
call fcn.10035d30
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x18]
call fcn.10035d30
cmp ebx, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb8]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
jne 0x10037a7f
mov edx, dword [esp + 0xb4]
cmp edx, edi
je 0x10037a2f
mov eax, edx
lea edi, [eax + 1]
jmp 0x10037a20
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10037a20
sub eax, edi
mov eax, edx
jne 0x10037a34
mov eax, str.Envelope_File
mov edx, dword [esp + 0xb8]
push edx
push esi
push sym.NativeMng.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::EnvelopeFileWithPEMThread_void__
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x34]
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 0x10037aa3
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_to_XFClientUI
push esi
jmp 0x10037a9b
push esi
call sym.NativeMng.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::EnvelopeFileWithPEMThread_void__
jmp 0x10037aa3
mov ecx, dword [ebp + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_aCertPEM_or_aInFilePath_is_null
push ebp
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
mov esi, dword [esp + 0x14]
add esi, 4
cmp dword [esi + 0x18], 0x10
jb 0x10037ab5
mov eax, dword [esi + 4]
jmp 0x10037ab8
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
push 0x10046637
mov ecx, esi
mov dword [esp + 0x24], 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 + 0x24]
test eax, eax
je 0x10037ae2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10037afa
mov ecx, esi
call fcn.10034830
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x50]
test esi, esi
je 0x10037b55
mov edi, dword [esp + 0x54]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10037b55
cmp esi, edi
mov ebx, edi
jbe 0x10037b33
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
cmp esi, edi
lea ebp, [esp + 0x4c]
jbe 0x10037b41
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push ebp
lea eax, [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.100346b0
mov esi, dword [esp + 0x40]
test esi, esi
je 0x10037bb0
mov edi, dword [esp + 0x44]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10037bb0
cmp esi, edi
mov ebx, edi
jbe 0x10037b8e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
cmp esi, edi
lea ebp, [esp + 0x3c]
jbe 0x10037b9c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push ebp
lea eax, [esp + 0x44]
push esi
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.100346b0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10037bc2
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 0
call fcn.10034140
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.10034140
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x18