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

Disassembly:
push 0xffffffffffffffff
push 0x10044758
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
xor edi, edi
mov ebx, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x98], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::resetError_void_]
mov ecx, dword [esp + 0xb8]
cmp ecx, edi
je 0x1003b5cb
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1003b140
sub eax, esi
je 0x1003b5cb
push ecx
lea ecx, [esp + 0x78]
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 0x100466ec
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 1
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 eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x60]
push edx
mov ecx, ebp
mov byte [esp + 0xa4], 2
call sym.NativeMng.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 + 0x58]
mov byte [esp + 0x98], 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_]
lea ecx, [esp + 0x74]
mov byte [esp + 0x98], 0
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 + 0x4c]
cmp esi, edi
mov ecx, dword [esp + 0x50]
jne 0x1003b1c7
mov dword [esp + 0x1c], edi
jmp 0x1003b1e2
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc0]
and eax, 0x80000
mov dword [esp + 0x28], eax
jne 0x1003b204
mov ecx, ebx
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::initProgress_void_]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jle 0x1003b449
xor edi, edi
mov dword [esp + 0x20], edi
test esi, esi
je 0x1003b233
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1003b23d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
lea eax, [edi + esi]
push eax
mov ecx, ebp
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::checkExcuteExtension_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
test eax, eax
jne 0x1003b3a4
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1003b275
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1003b27f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
cmp dword [edi + esi + 0x18], 0x10
jb 0x1003b28c
mov esi, dword [edi + esi + 4]
jmp 0x1003b290
lea esi, [edi + esi + 4]
xor edi, edi
mov eax, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003b2a0
sub eax, edx
push eax
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0xfde9
mov ecx, ebp
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
cmp eax, edi
jne 0x1003b3c5
mov esi, dword [esp + 0x24]
push 4
push esi
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test esi, esi
mov edi, eax
je 0x1003b2eb
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test edi, edi
jne 0x1003b3c5
push ebx
lea ecx, [esp + 0x4c]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x1003b308
mov eax, dword [eax + 4]
jmp 0x1003b30b
add eax, 4
lea edx, [esp + 0x40]
push edx
push eax
push 0xfde9
mov ecx, ebp
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x1003b3e6
mov edi, dword [esp + 0x44]
test edi, edi
jg 0x1003b407
mov esi, dword [esp + 0x40]
jl 0x1003b343
cmp esi, 0x80000000
ja 0x1003b407
cmp dword [esp + 0x28], 0
jne 0x1003b381
push ebx
lea ecx, [esp + 0x4c]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x1003b35f
mov eax, dword [eax + 4]
jmp 0x1003b362
add eax, 4
mov ecx, dword [esp + 0x2c]
push 1
push edi
push esi
push 0
push eax
push ebx
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 0x1003b428
add dword [esp + 0x20], 0x1c
add ebx, 1
cmp ebx, dword [esp + 0x1c]
jge 0x1003b449
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
jmp 0x1003b216
mov ecx, dword [ebp + 0x58]
push 0x989717
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_:_checkExcuteExtension_fail
push ebp
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003b5bd
mov ecx, dword [ebp + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_:_Input_File_open_fail
push ebp
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003b5bd
mov ecx, dword [ebp + 0x58]
push 0x9896f2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_:_Failed_to_get_the_file_size
push ebp
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003b5bd
mov ecx, dword [ebp + 0x58]
push 0x989718
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_:_The_file_size_is_greater_than_2.0GB_2_147_483_648_byte_
push ebp
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003b5bd
mov ecx, dword [ebp + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_to_XFClientUI
push ebp
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003b5bd
mov ebp, dword [esp + 0xc8]
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push ebp
push 0x1004e674
push ebx
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 0x58]
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::blockEnc2_unsigned_long_int__char_const___char_const___char_const___char_const___char_const__]
mov edi, eax
test edi, edi
je 0x1003b5b9
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003b490
sub eax, edx
je 0x1003b5b9
push 0x3c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor ecx, ecx
cmp eax, ecx
je 0x1003b4be
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov esi, eax
jmp 0x1003b4c0
xor esi, esi
push 0x3c
push ecx
push esi
mov byte [esp + 0xa4], 0
mov dword [esp + 0x40], esi
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov dword [esi], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esi + 8], eax
add esp, 0xc
mov dword [esi + 4], edx
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x48]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], edx
call fcn.10035d30
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc4]
mov dword [esi + 0x2c], edi
mov edi, dword [esp + 0xc0]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], ebp
jne 0x1003b5b3
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x1003b560
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003b551
sub eax, ebx
mov eax, edx
jne 0x1003b565
mov eax, str.Upload_File
push edi
push esi
push sym.NativeMng.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::UploadFileThreadEx_void__
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x40]
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 0x1003b5b9
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_to_XFClientUI
push esi
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
mov ebp, esi
jmp 0x1003b5bd
push esi
call sym.NativeMng.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::UploadFileThreadEx_void__
mov ebp, dword [esp + 0x18]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 4]
jb 0x1003b5e9
mov eax, dword [esi + 4]
jmp 0x1003b5ec
mov ecx, dword [ebp + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_:_aInFilePath_is_null
push ebp
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003b5bd
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
mov ebx, eax
push 0x10046637
mov ecx, esi
mov dword [esp + 0x3c], ebx
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 [esp + 0x30]
test eax, eax
je 0x1003b618
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1003b631
lea ecx, [esi + 0x18]
call fcn.10034140
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov edi, dword [esp + 0x50]
je 0x1003b69a
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003b69a
cmp ecx, edi
mov ebp, edi
jbe 0x1003b66a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp ecx, edi
lea esi, [esp + 0x48]
mov ebx, ecx
jbe 0x1003b67a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push esi
lea eax, [esp + 0x50]
push ebx
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.100346b0
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x98], 0xffffffff
je 0x1003b6cc
cmp ecx, edi
mov esi, ecx
je 0x1003b6c3
nop
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, edi
jne 0x1003b6b0
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x2c