Function at 0x1001de40
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1002f0d9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5c]
push str.DeEnvelopeFileWithCertThread_Start_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
xor edi, edi
push edi
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___unsigned_long_int_]
add esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov dword [eax], 0xffffffff
cmp edi, dword [esi + 0x34]
mov dword [esp + 0x54], edi
mov dword [esp + 0x14], edi
jae 0x1001e250
mov dword [esp + 0x18], edi
mov edi, edi
test dword [esi + 0x38], 0x80000
jne 0x1001dee4
mov ecx, dword [esp + 0x1c]
push edi
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::setProgressIndex_int_]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1001df07
mov ecx, dword [esi + 0x2c]
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
jb 0x1001df0d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x28]
add ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call dword [0x100321c0]
test dword [esi + 0x38], 0x20000
jne 0x1001df48
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push str..tmp
push str._xwmftmp
call sym.NativeMngUAC.dll_public:_char____thiscall_NativeFCMSWrapper::getTempFileName_char___char__
push eax
lea ecx, [esp + 0x30]
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 [esi + 0x10]
test eax, eax
mov ebx, 0x10033982
je 0x1001df56
mov ebx, eax
cmp dword [esp + 0x44], 0x10
mov ebp, dword [esp + 0x30]
jae 0x1001df65
lea ebp, [esp + 0x30]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001df88
mov ecx, dword [esi + 0x1c]
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
jb 0x1001df8e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x18]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x1001dfa0
mov edi, dword [eax + 4]
jmp 0x1001dfa3
lea edi, [eax + 4]
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
and edx, 0x80000
neg edx
sbb edx, edx
not edx
and edx, sym.NativeMngUAC.dll_protected:_static_int___cdecl_NativeFCMSWrapper::ProgressCallback_void___char_const___long_long___int64___long_long___int64___int_
push edx
mov edx, dword [esi + 4]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.MSVCR80.dll_atoi]
mov ecx, dword [esp + 0x3c]
add esp, 4
push eax
mov eax, dword [esi]
push ebp
push edi
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::deenvelopeFileWithCert_unsigned_long_int__char_const___char_const___int__char_const___char_const___char_const___int____cdecl___void___char_const___long_long___int64___long_long___int64___int__]
test eax, eax
jne 0x1001e131
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x1001e003
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x10035b24
add ecx, 4
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 [esi + 0x28]
test eax, eax
je 0x1001e026
mov ecx, dword [esi + 0x2c]
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
jb 0x1001e030
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call ebp
jmp 0x1001e036
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x28]
add eax, dword [esp + 0x18]
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x1001e04c
mov eax, dword [eax + 4]
jmp 0x1001e04f
add eax, 4
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
add ecx, 4
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__]
test dword [esi + 0x38], 0x80000
jne 0x1001e074
mov ecx, dword [esp + 0x1c]
push 2
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
test dword [esi + 0x38], 0x20000
mov dword [esp + 0x20], 0
jne 0x1001e1c7
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1001e0ac
mov ecx, dword [esi + 0x2c]
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
jb 0x1001e0ae
call ebp
mov eax, dword [esi + 0x28]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], ebx
jb 0x1001e0bf
mov eax, dword [eax + 4]
jmp 0x1001e0c2
add eax, 4
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
push 0xfde9
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Delete_unsigned_int__char_const__
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1001e0f6
mov ecx, dword [esi + 0x2c]
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
jb 0x1001e0f8
call ebp
mov eax, dword [esi + 0x28]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], ebx
jb 0x1001e109
mov eax, dword [eax + 4]
jmp 0x1001e10c
add eax, 4
cmp dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x30]
jae 0x1001e11a
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0xfde9
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Rename_unsigned_int__char_const___char_const__
jmp 0x1001e1c7
cmp eax, 0xffffffff
mov eax, dword [esp + 0x30]
je 0x1001e1de
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 1
jae 0x1001e159
lea eax, [esp + 0x30]
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
push 0xfde9
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Delete_unsigned_int__char_const__
cmp dword [esp + 0x14], 0
jle 0x1001e185
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x10035b24
add ecx, 4
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 [esi + 0x38]
test eax, 0x80000
jne 0x1001e1bc
test eax, 0x800000
mov ecx, dword [esp + 0x1c]
push 3
je 0x1001e1ad
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
cmp eax, 0xffffffff
mov edi, dword [esp + 0x14]
je 0x1001e229
jmp 0x1001e1c7
test eax, 0x400000
je 0x1001e21f
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
jmp 0x1001e1c3
test eax, 0x400000
je 0x1001e225
mov edi, dword [esp + 0x14]
add dword [esp + 0x18], 0x1c
add edi, 1
cmp edi, dword [esi + 0x34]
mov dword [esp + 0x14], edi
jb 0x1001ded0
jmp 0x1001e229
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x20], 1
jae 0x1001e1f1
lea eax, [esp + 0x30]
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
push 0xfde9
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Delete_unsigned_int__char_const__
cmp dword [esp + 0x14], 0
jle 0x1001e225
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x10035b24
add ecx, 4
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__]
jmp 0x1001e225
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
mov edi, dword [esp + 0x14]
cmp edi, dword [esi + 0x34]
jae 0x1001e250
mov edi, edi
test edi, edi
jle 0x1001e248
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x10035b24
add ecx, 4
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__]
add edi, 1
cmp edi, dword [esi + 0x34]
jb 0x1001e230
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov esi, dword [esi + 0x38]
test esi, 0x200000
jne 0x1001e276
cmp dword [esp + 0x24], 0
jne 0x1001e288
test esi, 0x100000
je 0x1001e288
test esi, 0x80000
jne 0x1001e288
mov ecx, dword [esp + 0x1c]
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::endProgress_void_]
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_void___cdecl_XWClientSM::removeInstance_void_]
push str.DeEnvelopeFileWithCertThread_End_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1002d777
add esp, 0x44
ret 4