Function at 0x1001d5c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1002f099
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
push str.EnvelopeFileWithCertThread_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 + 0x1c], 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 + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 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
xor ebx, ebx
cmp dword [esi + 0x30], edi
mov dword [esp + 0x48], edi
jbe 0x1001d963
xor ebp, ebp
test dword [esi + 0x34], 0x80000
jne 0x1001d65a
mov ecx, dword [esp + 0x14]
push ebx
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::setProgressIndex_int_]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001d67d
mov ecx, dword [esi + 0x28]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1001d683
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x24]
add eax, ebp
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x1001d697
mov eax, dword [eax + 4]
jmp 0x1001d69a
add eax, 4
push eax
lea ecx, [esp + 0x24]
call dword [0x100321b0]
test dword [esi + 0x34], 0x20000
jne 0x1001d6ce
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 + 0x24]
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__]
cmp dword [esp + 0x38], edi
mov edi, dword [esp + 0x24]
jae 0x1001d6dc
lea edi, [esp + 0x24]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1001d6ff
mov ecx, dword [esi + 0x18]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1001d705
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x14]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x1001d715
mov eax, dword [eax + 4]
jmp 0x1001d718
add eax, 4
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0xc]
and ecx, 0x80000
neg ecx
sbb ecx, ecx
not ecx
and ecx, sym.NativeMngUAC.dll_protected:_static_int___cdecl_NativeFCMSWrapper::ProgressCallback_void___char_const___long_long___int64___long_long___int64___int_
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push edi
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::envelopeFileWithCert_unsigned_long_int__char_const___char_const___char_const___char_const___char_const___int____cdecl___void___char_const___long_long___int64___long_long___int64___int__]
test eax, eax
jne 0x1001d88b
test ebx, ebx
jle 0x1001d769
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 + 0x24]
test eax, eax
je 0x1001d78c
mov ecx, dword [esi + 0x28]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1001d792
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x24]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x1001d7a2
mov eax, dword [eax + 4]
jmp 0x1001d7a5
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 + 0x34], 0x80000
jne 0x1001d7ca
mov ecx, dword [esp + 0x14]
push 2
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
xor edi, edi
test dword [esi + 0x34], 0x20000
jne 0x1001d911
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001d7fc
mov ecx, dword [esi + 0x28]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1001d802
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x24]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x1001d812
mov eax, dword [eax + 4]
jmp 0x1001d815
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 + 0x24]
test eax, eax
je 0x1001d849
mov ecx, dword [esi + 0x28]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1001d84f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x24]
add eax, ebp
mov ecx, 0x10
cmp dword [eax + 0x18], ecx
jb 0x1001d863
mov eax, dword [eax + 4]
jmp 0x1001d866
add eax, 4
cmp dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
jae 0x1001d874
lea ecx, [esp + 0x24]
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 0x1001d911
cmp eax, 0xffffffff
mov eax, dword [esp + 0x24]
je 0x1001d922
cmp dword [esp + 0x38], 0x10
mov edi, 2
mov dword [esp + 0x18], 1
jae 0x1001d8b0
lea eax, [esp + 0x24]
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__
test ebx, ebx
jle 0x1001d8d9
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 + 0x34]
test eax, 0x80000
jne 0x1001d90a
test eax, 0x800000
mov ecx, dword [esp + 0x14]
push 3
je 0x1001d8fb
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
cmp eax, 0xffffffff
jmp 0x1001d90f
test eax, 0x400000
je 0x1001d95d
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
jmp 0x1001d911
test eax, 0x400000
je 0x1001d963
add ebx, 1
add ebp, 0x1c
cmp ebx, dword [esi + 0x30]
jb 0x1001d646
jmp 0x1001d963
cmp dword [esp + 0x38], 0x10
mov edi, 1
jae 0x1001d932
lea eax, [esp + 0x24]
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__
test ebx, ebx
jle 0x1001d963
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 0x1001d963
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
cmp ebx, dword [esi + 0x30]
jae 0x1001d988
test ebx, ebx
jle 0x1001d980
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 ebx, 1
cmp ebx, dword [esi + 0x30]
jb 0x1001d968
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov dword [ecx], edi
mov esi, dword [esi + 0x34]
test esi, 0x200000
jne 0x1001d9aa
cmp dword [esp + 0x18], 0
jne 0x1001d9bc
test esi, 0x100000
je 0x1001d9bc
test esi, 0x80000
jne 0x1001d9bc
mov ecx, dword [esp + 0x14]
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.EnvelopeFileWithCertThread_End_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 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 + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1002d777
add esp, 0x38
ret 4