Function at 0x1001c8c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1002f019
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54]
push str.SignFileThread_Start_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_class_XWClientSM____cdecl_XWClientSM::getInstance_char_const___unsigned_long_int_]
add esp, 8
mov dword [esp + 0x1c], eax
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x20], ebx
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 ebx, dword [esi + 0x40]
mov dword [esp + 0x4c], ebx
jae 0x1001cd94
mov dword [esp + 0x18], ebp
jmp 0x1001c950
test dword [esi + 0x44], 0x80000
jne 0x1001c964
mov ecx, dword [esp + 0x14]
push ebx
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::setProgressIndex_int_]
test byte [esi + 0x44], 0x40
jne 0x1001c9ce
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1001c98d
mov ecx, dword [esi + 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 ebx, eax
jb 0x1001c993
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x34]
add ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call dword [0x100321c0]
test dword [esi + 0x44], 0x20000
jne 0x1001c9ce
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 + 0x28]
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 + 0x44]
xor edi, edi
cmp dword [esi + 0x18], edi
jbe 0x1001caa5
test al, 1
je 0x1001c9e5
mov edi, 1
test al, 2
je 0x1001c9ec
or edi, 2
test al, al
jns 0x1001c9f6
or edi, 0x800
test al, 0x40
je 0x1001ca00
or edi, 0x1000
test eax, 0x100
je 0x1001ca0d
or edi, 0x10000
test eax, 0x200
je 0x1001ca1a
or edi, 0x2000000
cmp dword [esp + 0x3c], 0x10
mov ebp, dword [esp + 0x28]
jae 0x1001ca29
lea ebp, [esp + 0x28]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001ca4c
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 0x1001ca52
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x24]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x1001ca64
mov eax, dword [eax + 4]
jmp 0x1001ca67
add eax, 4
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x18]
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 + 0x14]
push edi
push ebp
push eax
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [edx + 4]
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWSignatureService::signFileWithPFX_unsigned_long_int__char_const___unsigned_char___unsigned_int__char_const___char_const___char_const___int__int____cdecl___void___char_const___long_long___int64___long_long___int64___int__]
jmp 0x1001cb70
test al, 1
je 0x1001caae
mov edi, 1
test al, 2
je 0x1001cab5
or edi, 2
test al, al
jns 0x1001cabf
or edi, 0x800
test al, 0x40
je 0x1001cac9
or edi, 0x1000
test eax, 0x100
je 0x1001cad6
or edi, 0x10000
test eax, 0x200
je 0x1001cae3
or edi, 0x2000000
cmp dword [esp + 0x3c], 0x10
mov ebp, dword [esp + 0x28]
jae 0x1001caf2
lea ebp, [esp + 0x28]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001cb15
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 0x1001cb1b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x24]
add eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x1001cb2d
mov eax, dword [eax + 4]
jmp 0x1001cb30
add eax, 4
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x1c]
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 + 0xc]
push edi
push ebp
push eax
mov eax, dword [esi + 0x10]
push 0
push 0
push 0
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x50]
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::signFile_unsigned_long_int__char_const___char_const___char_const___char_const___char_const___char_const___char_const___char_const___char_const___char_const___int__int____cdecl___void___char_const___long_long___int64___long_long___int64___int__]
mov edi, eax
test edi, edi
je 0x1001cc82
cmp byte [edi], 0
je 0x1001cc82
push 6
push str.CANCEL
push edi
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1001cd20
test ebx, ebx
jle 0x1001cbb4
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__]
test byte [esi + 0x44], 0x40
jne 0x1001cbd5
push ebx
lea ecx, [esi + 0x30]
call fcn.1001bba0
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
jmp 0x1001cbe5
mov ecx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push edi
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 + 0x44], 0x80000
jne 0x1001cbfa
mov ecx, dword [esp + 0x14]
push 2
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
push edi
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_void___cdecl_XWClientSM::free_void__]
mov eax, dword [esi + 0x44]
add esp, 4
xor ebp, ebp
test eax, 0x20000
jne 0x1001cd0d
test al, 0x40
jne 0x1001cd0d
lea edi, [esi + 0x30]
push ebx
mov ecx, edi
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x1001cc32
mov eax, dword [eax + 4]
jmp 0x1001cc35
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__
push ebx
mov ecx, edi
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x1001cc59
mov eax, dword [eax + 4]
jmp 0x1001cc5c
add eax, 4
cmp dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x28]
jae 0x1001cc6b
lea ecx, [esp + 0x28]
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 0x1001cd0d
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
mov ebp, 2
mov dword [esp + 0x20], 1
jae 0x1001cc9e
lea eax, [esp + 0x28]
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 edi, edi
je 0x1001ccbd
push edi
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_void___cdecl_XWClientSM::free_void__]
add esp, 4
test ebx, ebx
jle 0x1001ccd5
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 + 0x44]
test eax, 0x80000
jne 0x1001cd06
test eax, 0x800000
mov ecx, dword [esp + 0x14]
push 3
je 0x1001ccf7
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
cmp eax, 0xffffffff
jmp 0x1001cd0b
test eax, 0x400000
je 0x1001cd69
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
jmp 0x1001cd0d
test eax, 0x400000
je 0x1001cd6f
add dword [esp + 0x18], 0x1c
add ebx, 1
cmp ebx, dword [esi + 0x40]
jb 0x1001c950
jmp 0x1001cd6f
push edi
call dword [sym.imp.XecureMacuxCSM.dll_public:_static_void___cdecl_XWClientSM::free_void__]
add esp, 4
test ebx, ebx
mov ebp, 1
jle 0x1001cd47
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__]
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x1001cd56
lea eax, [esp + 0x28]
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__
jmp 0x1001cd6f
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
cmp ebx, dword [esi + 0x40]
jae 0x1001cd94
test ebx, ebx
jle 0x1001cd8c
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 + 0x40]
jb 0x1001cd74
mov edx, dword [sym.NativeMngUAC.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov dword [edx], ebp
mov esi, dword [esi + 0x44]
test esi, 0x200000
jne 0x1001cdb6
cmp dword [esp + 0x20], 0
jne 0x1001cdc8
test esi, 0x100000
je 0x1001cdc8
test esi, 0x80000
jne 0x1001cdc8
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.SignFileThread_End_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 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 + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1002d777
add esp, 0x3c
ret 4