Function at 0x10030ef0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x10043c69
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
push str.DeEnvelopeFileWithPasswdThread_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
xor ebx, ebx
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.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov dword [eax], 0xffffffff
cmp edi, dword [esi + 0x28]
mov dword [esp + 0x48], edi
jae 0x100312a0
xor ebp, ebp
test dword [esi + 0x2c], 0x80000
jne 0x10030f8a
mov ecx, dword [esp + 0x14]
push edi
call dword [sym.imp.xwmfUI.dll_public:_void___thiscall_XFClientUI::setProgressIndex_int_]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10030fad
mov ecx, dword [esi + 0x20]
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 0x10030fb3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x1c]
add ecx, ebp
push ecx
lea ecx, [esp + 0x24]
call dword [0x1004613c]
test dword [esi + 0x2c], 0x20000
jne 0x10030fec
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push str..tmp
push str._xwmftmp
call sym.NativeMng.dll_public:_char____thiscall_NativeFCMSWrapper::getTempFileName_char___char__
push eax
lea ecx, [esp + 0x24]
call dword [0x1004612c]
cmp dword [esp + 0x38], 0x10
mov ebx, dword [esp + 0x24]
jae 0x10030ffb
lea ebx, [esp + 0x24]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1003101e
mov ecx, dword [esi + 0x10]
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 0x10031024
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x10031034
mov eax, dword [eax + 4]
jmp 0x10031037
add eax, 4
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 4]
and edx, 0x80000
neg edx
sbb edx, edx
not edx
and edx, sym.NativeMng.dll_protected:_static_int___cdecl_NativeFCMSWrapper::ProgressCallback_void___char_const___long_long___int64___long_long___int64___int_
push edx
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push eax
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::deenvelopeFileWithPasswd_unsigned_long_int__char_const___char_const___char_const___int____cdecl___void___char_const___long_long___int64___long_long___int64___int__]
test eax, eax
jne 0x100311a2
test edi, edi
jle 0x10031080
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x100466ec
add ecx, 4
call dword [0x1004612c]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100310a3
mov ecx, dword [esi + 0x20]
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 0x100310a9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x1c]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x100310b9
mov eax, dword [eax + 4]
jmp 0x100310bc
add eax, 4
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
add ecx, 4
call dword [0x1004612c]
test dword [esi + 0x2c], 0x80000
jne 0x100310e1
mov ecx, dword [esp + 0x14]
push 2
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
xor ebx, ebx
test dword [esi + 0x2c], 0x20000
jne 0x10031228
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10031113
mov ecx, dword [esi + 0x20]
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 0x10031119
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x1c]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x10031129
mov eax, dword [eax + 4]
jmp 0x1003112c
add eax, 4
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
push 0xfde9
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Delete_unsigned_int__char_const__
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10031160
mov ecx, dword [esi + 0x20]
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 0x10031166
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x1c]
add eax, ebp
mov ecx, 0x10
cmp dword [eax + 0x18], ecx
jb 0x1003117a
mov eax, dword [eax + 4]
jmp 0x1003117d
add eax, 4
cmp dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
jae 0x1003118b
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0xfde9
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Rename_unsigned_int__char_const___char_const__
jmp 0x10031228
cmp eax, 0xffffffff
mov eax, dword [esp + 0x24]
je 0x10031239
cmp dword [esp + 0x38], 0x10
mov ebx, 2
mov dword [esp + 0x18], 1
jae 0x100311c7
lea eax, [esp + 0x24]
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
push 0xfde9
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Delete_unsigned_int__char_const__
test edi, edi
jle 0x100311f0
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x100466ec
add ecx, 4
call dword [0x1004612c]
mov eax, dword [esi + 0x2c]
test eax, 0x80000
jne 0x10031221
test eax, 0x800000
mov ecx, dword [esp + 0x14]
push 3
je 0x10031212
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
cmp eax, 0xffffffff
jmp 0x10031226
test eax, 0x400000
je 0x10031274
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
jmp 0x10031228
test eax, 0x400000
je 0x1003127a
add edi, 1
add ebp, 0x1c
cmp edi, dword [esi + 0x28]
jb 0x10030f76
jmp 0x1003127a
cmp dword [esp + 0x38], 0x10
mov ebx, 1
jae 0x10031249
lea eax, [esp + 0x24]
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push eax
push 0xfde9
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_File_Delete_unsigned_int__char_const__
test edi, edi
jle 0x1003127a
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x100466ec
add ecx, 4
call dword [0x1004612c]
jmp 0x1003127a
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::setProgressStatus_unsigned_long_int_]
cmp edi, dword [esi + 0x28]
jae 0x100312a0
nop
test edi, edi
jle 0x10031298
mov ecx, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
push 0x100466ec
add ecx, 4
call dword [0x1004612c]
add edi, 1
cmp edi, dword [esi + 0x28]
jb 0x10031280
mov eax, dword [sym.NativeMng.dll_class_NativeFCMSWrapper__NativeFCMSWrapper::mNativeFCMSWrapper]
mov dword [eax], ebx
mov esi, dword [esi + 0x2c]
test esi, 0x200000
jne 0x100312c1
cmp dword [esp + 0x18], 0
jne 0x100312d3
test esi, 0x100000
je 0x100312d3
test esi, 0x80000
jne 0x100312d3
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.DeEnvelopeFileWithPasswdThread_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.10041218
add esp, 0x38
ret 4