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

Disassembly:
push 0xffffffffffffffff
push 0x1002f768
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
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 0x10024c07
mov edx, dword [esp + 0xa8]
cmp edx, edi
je 0x10024c07
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10024654
sub eax, esi
je 0x10024c07
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10024670
sub eax, esi
je 0x10024c07
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 0x10035b24
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.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 + 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.1001bb70
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
test eax, 0x20000
je 0x10024744
mov eax, dword [esp + 0xa4]
push str.XgateAddress
push eax
mov ecx, ebp
call sym.NativeMngUAC.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.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 0x10024859
test eax, 0x10000
je 0x10024828
mov edx, dword [esp + 0xac]
cmp edx, edi
je 0x100247d9
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10024760
sub eax, esi
je 0x100247d9
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 0x10035b24
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.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 + 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 0x10024859
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.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 + 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 0x10024859
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.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 0x10024c23
lea ecx, [esp + 0x3c]
call fcn.1001bb70
cmp dword [esp + 0x18], eax
je 0x10024880
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 0x10024c1a
mov ebx, dword [esp + 0xb8]
and ebx, 0x80000
mov dword [esp + 0x20], ebx
jne 0x1002489d
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 0x10024a61
lea esp, [esp]
push ebp
lea ecx, [esp + 0x40]
call fcn.1001bba0
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x100248c9
mov esi, dword [eax + 4]
jmp 0x100248cc
lea esi, [eax + 4]
push ebp
lea ecx, [esp + 0x50]
call fcn.1001bba0
cmp dword [eax + 0x18], edi
jb 0x100248e0
mov eax, dword [eax + 4]
jmp 0x100248e3
add eax, 4
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10024905
test dl, dl
je 0x10024901
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10024905
add eax, 2
add ecx, 2
test dl, dl
jne 0x100248e5
xor eax, eax
jmp 0x1002490a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10024a8d
push ebp
lea ecx, [esp + 0x50]
call fcn.1001bba0
cmp dword [eax + 0x18], edi
jb 0x10024926
mov eax, dword [eax + 4]
jmp 0x10024929
add eax, 4
mov esi, dword [esp + 0x14]
push 4
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x10024ab2
test dword [esp + 0xb8], 0x40000
je 0x1002497f
push ebp
lea ecx, [esp + 0x40]
call fcn.1001bba0
cmp dword [eax + 0x18], edi
jb 0x10024965
mov eax, dword [eax + 4]
jmp 0x10024968
add eax, 4
push 0
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
je 0x10024acb
push ebp
lea ecx, [esp + 0x40]
call fcn.1001bba0
cmp dword [eax + 0x18], edi
jb 0x10024993
mov eax, dword [eax + 4]
jmp 0x10024996
add eax, 4
push 2
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
jne 0x10024ae4
push ebp
lea ecx, [esp + 0x50]
call fcn.1001bba0
cmp dword [eax + 0x18], edi
jb 0x100249c1
mov eax, dword [eax + 4]
jmp 0x100249c4
add eax, 4
lea ecx, [esp + 0x34]
push ecx
push eax
push 0xfde9
mov ecx, esi
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x10024afd
mov ebx, dword [esp + 0x38]
test ebx, ebx
jg 0x10024b16
mov edi, dword [esp + 0x34]
jl 0x100249f9
cmp edi, 0xffffffff
ja 0x10024b16
cmp dword [esp + 0x20], 0
jne 0x10024a4e
push ebp
lea ecx, [esp + 0x40]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10024a15
mov esi, dword [eax + 4]
jmp 0x10024a18
lea esi, [eax + 4]
push ebp
lea ecx, [esp + 0x50]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10024a2d
mov eax, dword [eax + 4]
jmp 0x10024a30
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 0x10024be5
add ebp, 1
cmp ebp, dword [esp + 0x18]
jl 0x100248b0
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 0x10024b2f
mov ecx, eax
call fcn.10021c30
mov esi, eax
jmp 0x10024b31
mov esi, dword [esp + 0x14]
push str._NativeFCMSWrapper__envelopeFileWithPEM__Fail_:_Input_file_name_and_output_file_name_is_the_same
push esi
call sym.NativeMngUAC.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 0x10024c23
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 0x10024c1b
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 0x10024c1b
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 0x10024c1b
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 0x10024c1b
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 0x10024c1b
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.10022eb0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x18]
call fcn.10022eb0
cmp ebx, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb8]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
jne 0x10024bff
mov edx, dword [esp + 0xb4]
cmp edx, edi
je 0x10024baf
mov eax, edx
lea edi, [eax + 1]
jmp 0x10024ba0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10024ba0
sub eax, edi
mov eax, edx
jne 0x10024bb4
mov eax, str.Envelope_File
mov edx, dword [esp + 0xb8]
push edx
push esi
push sym.NativeMngUAC.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 0x10024c23
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 0x10024c1b
push esi
call sym.NativeMngUAC.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::EnvelopeFileWithPEMThread_void__
jmp 0x10024c23
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.NativeMngUAC.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 0x10024c35
mov eax, dword [esi + 4]
jmp 0x10024c38
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
push 0x10033982
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [0x100321b0]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10024c62
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10024c7a
mov ecx, esi
call fcn.10021b20
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x50]
test esi, esi
je 0x10024cd5
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 0x10024cd5
cmp esi, edi
mov ebx, edi
jbe 0x10024cb3
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 0x10024cc1
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.100219f0
mov esi, dword [esp + 0x40]
test esi, esi
je 0x10024d30
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 0x10024d30
cmp esi, edi
mov ebx, edi
jbe 0x10024d0e
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 0x10024d1c
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.100219f0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10024d42
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 0
call fcn.10021480
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.10021480
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