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

Disassembly:
push 0xffffffffffffffff
push 0x1002f6f1
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
xor ebx, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0xd8]
push eax
mov byte [esp + 0xc4], 1
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.MSVCR80.dll_atoi]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
mov dword [esp + 0x70], 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 + 0x60], eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::resetError_void_]
mov esi, dword [esp + 0xd0]
cmp esi, ebx
je 0x1002438e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10023b10
sub eax, edx
je 0x1002438e
mov edx, dword [esp + 0xe4]
cmp edx, ebx
je 0x10023b5e
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10023b31
sub eax, edi
je 0x10023b5e
push edx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::readFile_unsigned_char____unsigned_int___char_const__
cmp eax, ebx
je 0x10023b5e
push str._NativeFCMSWrapper__signFile__Fail_:_PFX_File_open_fail
jmp 0x100243a1
push esi
lea ecx, [esp + 0x80]
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 + 0xa0]
mov byte [esp + 0xc4], 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 ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xa4]
push eax
mov ecx, ebp
mov byte [esp + 0xcc], 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 + 0x9c]
mov byte [esp + 0xc0], 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 + 0x7c]
mov byte [esp + 0xc0], 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 esi, dword [esp + 0x24]
cmp esi, ebx
mov ecx, dword [esp + 0x28]
jne 0x10023be1
xor edi, edi
jmp 0x10023bf8
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, dword [esp + 0xf0]
and eax, 0x40
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], eax
jne 0x10023dc6
mov eax, dword [esp + 0xf0]
test eax, 0x20000
je 0x10023c4f
push str..xws
lea ecx, [esp + 0x34]
push ecx
sub esp, 0x10
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.10021850
mov eax, dword [esp + 0xe4]
push eax
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 0x10023d7d
test eax, 0x10000
je 0x10023d4a
mov edx, dword [esp + 0xd4]
cmp edx, ebx
je 0x10023cf5
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10023c70
sub eax, esi
je 0x10023cf5
push edx
lea ecx, [esp + 0xa0]
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 + 0x80]
mov byte [esp + 0xc4], 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 ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x84]
push eax
mov ecx, ebp
mov byte [esp + 0xcc], 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 + 0x7c]
mov byte [esp + 0xc0], 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 + 0x9c]
mov byte [esp + 0xc0], 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 0x10023d7b
push str..xws
lea ecx, [esp + 0x80]
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 ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x80]
push edx
sub esp, 0x10
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0xdc], 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 + 0x7c]
mov byte [esp + 0xc0], 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 0x10023d7d
lea ecx, [esp + 0x30]
push ecx
sub esp, 0x10
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.10021850
push str..xws
push str.sign_files__.xws__.xws_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, ebx
jne 0x100243aa
xor ebx, ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x10023d89
xor eax, eax
jmp 0x10023da2
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
je 0x10023dbe
mov ecx, dword [ebp + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_:_Count_the_number_of_input_files_and_output_files_are_different
jmp 0x100243a1
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0xf0]
and eax, 0x80000
mov dword [esp + 0x70], eax
jne 0x10023dea
mov ecx, dword [esp + 0x48]
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::initProgress_void_]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp edi, ebx
mov dword [esp + 0x18], ebx
jle 0x100241ab
xor edi, edi
mov dword [esp + 0x5c], edi
lea esp, [esp]
cmp esi, ebx
je 0x10023e1f
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x10023e29
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x24]
cmp dword [esi + edi + 0x18], 0x10
jb 0x10023e36
mov esi, dword [esi + edi + 4]
jmp 0x10023e3a
lea esi, [esi + edi + 4]
mov eax, esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10023e47
sub eax, edx
push eax
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
push ecx
push 0xfde9
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
cmp eax, ebx
jne 0x10024118
mov esi, dword [esp + 0x40]
push 4
push esi
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
cmp esi, ebx
mov edi, eax
je 0x10023e92
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp edi, ebx
jne 0x10024118
cmp dword [esp + 0x64], ebx
jne 0x10023f99
test dword [esp + 0xf0], 0x40000
je 0x10023f2e
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10023eca
mov ecx, dword [eax + 4]
jmp 0x10023ecd
lea ecx, [eax + 4]
mov eax, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10023ee0
sub eax, esi
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
push ecx
push 0xfde9
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
cmp eax, ebx
jne 0x10023f2e
mov esi, dword [esp + 0x40]
push ebx
push esi
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
cmp esi, ebx
mov edi, eax
je 0x10023f26
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp edi, ebx
je 0x10024130
mov esi, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x34]
call fcn.1001bba0
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10023f4b
mov eax, dword [eax + 4]
jmp 0x10023f4e
add eax, 4
push 2
push eax
push 0xfde9
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Access_unsigned_int__char_const___int_
test eax, eax
je 0x10023fa2
mov ecx, dword [ebp + 0x58]
push 0x989714
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push esi
lea ecx, [esp + 0x34]
call fcn.1001bba0
cmp dword [eax + 0x18], edi
jb 0x10024148
mov eax, dword [eax + 4]
push eax
push str._NativeFCMSWrapper__signFile__Fail_:_Output_fils_write_fail__s_
push ebp
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 0xc
jmp 0x100243aa
mov esi, dword [esp + 0x18]
mov edi, 0x10
push esi
lea ecx, [esp + 0x24]
call fcn.1001bba0
cmp dword [eax + 0x18], edi
jb 0x10023fb6
mov eax, dword [eax + 4]
jmp 0x10023fb9
add eax, 4
lea edx, [esp + 0x4c]
push edx
push eax
push 0xfde9
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x1002415f
cmp dword [esp + 0x50], ebx
jg 0x10024177
mov ebx, dword [esp + 0x4c]
jl 0x10023fec
cmp ebx, 0xffffffff
ja 0x10024177
cmp dword [esp + 0x70], 0
jne 0x100240e7
cmp dword [esp + 0x64], 0
lea ecx, [esp + 0x20]
jne 0x100240ac
mov eax, dword [esp + 0x18]
push eax
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x1002401b
mov ebp, dword [eax + 4]
jmp 0x1002401e
lea ebp, [eax + 4]
mov esi, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x34]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10024037
mov edi, dword [eax + 4]
jmp 0x1002403a
lea edi, [eax + 4]
push esi
lea ecx, [esp + 0x24]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x1002404f
mov esi, dword [eax + 4]
jmp 0x10024052
lea esi, [eax + 4]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x58]
push ebp
call dword [sym.imp.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::isSignedFile_char_const__]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
neg eax
sbb eax, eax
add eax, 2
push eax
mov eax, dword [esp + 0x1c]
push edx
push ebx
push edi
push esi
push eax
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
je 0x100240e7
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_to_XFClientUI
push esi
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
mov ebp, esi
jmp 0x100243a7
mov esi, dword [esp + 0x18]
push esi
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x100240c1
mov eax, dword [eax + 4]
jmp 0x100240c4
add eax, 4
mov ecx, dword [esp + 0x50]
push 1
push ecx
mov ecx, dword [esp + 0x50]
push ebx
push 0
push eax
push esi
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 0x1002418f
mov eax, dword [esp + 0x18]
add dword [esp + 0x5c], 0x1c
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
jge 0x100241ab
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x5c]
xor ebx, ebx
jmp 0x10023e00
mov ecx, dword [ebp + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_:_Input_File_open_fail
jmp 0x100243a1
mov ecx, dword [ebp + 0x58]
push 0x989713
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_:_Output_file_already_exist
jmp 0x100243a1
add eax, 4
push eax
push str._NativeFCMSWrapper__signFile__Fail_:_Output_fils_write_fail__s_
push ebp
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 0xc
jmp 0x100243aa
mov ecx, dword [ebp + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_:_Failed_to_get_the_file_size
jmp 0x100243a1
mov ecx, dword [ebp + 0x58]
push 0x989715
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_:_The_file_size_is_greater_than_3.9GB_4_294_967_295_byte_
jmp 0x100243a1
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_to_XFClientUI
jmp 0x100243a1
mov edi, dword [esp + 0x60]
cmp edi, 0x190
mov ebx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x1c]
jne 0x1002424a
mov ecx, dword [ebp + 0x58]
push 1
push 0
push 0x190
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::getMediaList_int__int__int_]
test eax, eax
mov dword [esp + 0x44], eax
je 0x10024224
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100241e3
sub eax, edx
je 0x10024224
mov edx, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x58]
push ebx
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::loginPKCS11_int__char_const__]
test eax, eax
je 0x10024259
mov ecx, dword [ebp + 0x58]
push 0x9896fa
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_to_loginPKCS11
push ebp
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x100243b4
mov ecx, dword [ebp + 0x58]
push 0x98bd9e
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push 0x190
push str._NativeFCMSWrapper__signFile__Fail_to_getMediaList__d_
push ebp
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 0xc
jmp 0x100243b4
cmp edi, 0x44c
jne 0x10024259
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::getCertFromFileMap_void_
push 0x48
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xc0], 7
je 0x1002427e
mov ecx, eax
call fcn.10021a70
mov esi, eax
jmp 0x10024280
xor esi, esi
push 0x48
push 0
push esi
mov byte [esp + 0xcc], 1
mov dword [esp + 0x84], esi
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xe4]
mov dword [esi], eax
mov eax, dword [esp + 0xe8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xec]
add esp, 0xc
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 0x10], ecx
jbe 0x100242e2
mov edx, dword [esp + 0x54]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
cmp edi, 0x190
je 0x100242ed
mov dword [esi + 0x1c], ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x20]
call fcn.10022eb0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x30]
call fcn.10022eb0
cmp dword [esp + 0x70], 0
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0xf0]
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], ebx
jne 0x10024386
mov edx, dword [esp + 0xec]
test edx, edx
je 0x1002433f
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10024330
sub eax, edi
mov eax, edx
jne 0x10024344
mov eax, str.Sign_File
push ebx
push esi
push sym.NativeMngUAC.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::SignFileThread_void__
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x78]
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 0x100243aa
mov ecx, dword [ebp + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_to_XFClientUI
jmp 0x100243a1
push esi
call sym.NativeMngUAC.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::SignFileThread_void__
jmp 0x100243aa
mov ecx, dword [ebp + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__signFile__Fail_:_aPlainFilePath_is_null
push ebp
call sym.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
cmp dword [esp + 0x60], 0x190
jne 0x100243c2
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x58]
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::finalizePKCS11FromIndex_int_]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100243d4
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_void___cdecl_XWClientSM::free_void__]
add esp, 4
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 4]
jb 0x100243e2
mov eax, dword [esi + 4]
jmp 0x100243e5
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
push 0x10033982
mov ecx, esi
mov dword [esp + 0x48], eax
call dword [0x100321b0]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1002440f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x78]
test esi, esi
je 0x10024427
mov ecx, esi
call fcn.10021ac0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x24]
test edi, edi
je 0x10024486
mov ebx, dword [esp + 0x28]
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 0x10024486
cmp edi, ebx
mov ebp, ebx
jbe 0x10024460
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, ebx
lea esi, [esp + 0x20]
jbe 0x1002446e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push esi
lea eax, [esp + 0x28]
push edi
push eax
lea edx, [esp + 0x5c]
push edx
mov ecx, eax
call fcn.100219f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov ebp, dword [esp + 0x38]
je 0x100244ef
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 0x100244ef
cmp ecx, ebp
mov ebx, ebp
jbe 0x100244bf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
lea esi, [esp + 0x30]
mov edi, ecx
jbe 0x100244cf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push esi
lea eax, [esp + 0x38]
push edi
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
call fcn.100219f0
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
xor ebx, ebx
cmp eax, ebx
je 0x1002450f
push eax
call dword [sym.imp.MSVCR80.dll_free]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add esp, 4
cmp ecx, ebx
mov byte [esp + 0xc0], 0
je 0x10024541
cmp ecx, ebp
mov esi, ecx
je 0x10024534
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 0x10024521
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edi, dword [esp + 0x28]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xc0], 0xffffffff
je 0x10024582
mov ebp, dword [esp + 0x28]
cmp edi, ebp
mov esi, edi
je 0x10024579
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 0x10024566
mov edi, dword [esp + 0x24]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 0x2c