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

Disassembly:
push 0xffffffffffffffff
push 0x10044708
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 ebx, ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.xwmfUI.dll_public:_static_class_XFClientUI____cdecl_XFClientUI::getInstance_void_]
xor edi, edi
mov ebp, eax
mov dword [esp + 0x2c], ebp
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 [ebx + 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 0x1003af9a
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1003ab20
sub eax, esi
je 0x1003af9a
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, ebx
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 0x1003aba7
mov dword [esp + 0x1c], edi
jmp 0x1003abc2
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 0x1003abe4
mov ecx, ebp
call dword [sym.imp.xwmfUI.dll_public:_int___thiscall_XFClientUI::initProgress_void_]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jle 0x1003ae29
xor edi, edi
mov dword [esp + 0x20], edi
test esi, esi
je 0x1003ac13
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1003ac1d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
lea eax, [edi + esi]
push eax
mov ecx, ebx
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 0x1003ad84
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1003ac55
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 ebp, eax
jb 0x1003ac5f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
cmp dword [edi + esi + 0x18], 0x10
jb 0x1003ac6c
mov esi, dword [edi + esi + 4]
jmp 0x1003ac70
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 0x1003ac80
sub eax, edx
push eax
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0xfde9
mov ecx, ebx
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
cmp eax, edi
jne 0x1003ada5
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 0x1003accb
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test edi, edi
jne 0x1003ada5
push ebp
lea ecx, [esp + 0x4c]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x1003ace8
mov eax, dword [eax + 4]
jmp 0x1003aceb
add eax, 4
lea edx, [esp + 0x40]
push edx
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMng.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x1003adc6
mov edi, dword [esp + 0x44]
test edi, edi
jg 0x1003ade7
mov esi, dword [esp + 0x40]
jl 0x1003ad23
cmp esi, 0x80000000
ja 0x1003ade7
cmp dword [esp + 0x28], 0
jne 0x1003ad61
push ebp
lea ecx, [esp + 0x4c]
call fcn.1002e7c0
cmp dword [eax + 0x18], 0x10
jb 0x1003ad3f
mov eax, dword [eax + 4]
jmp 0x1003ad42
add eax, 4
mov ecx, dword [esp + 0x2c]
push 1
push edi
push esi
push 0
push eax
push ebp
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 0x1003ae08
add dword [esp + 0x20], 0x1c
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jge 0x1003ae29
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
jmp 0x1003abf6
mov ecx, dword [ebx + 0x58]
push 0x989717
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_:_checkExcuteExtension_fail
push ebx
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003af8c
mov ecx, dword [ebx + 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 ebx
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003af8c
mov ecx, dword [ebx + 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 ebx
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003af8c
mov ecx, dword [ebx + 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 ebx
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003af8c
mov ecx, dword [ebx + 0x58]
push 0x9896a2
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_to_XFClientUI
push ebx
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003af8c
mov ebp, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x18]
push 0x1004e674
push ebp
push ebx
push eax
push ecx
mov ecx, dword [edx + 0x58]
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::blockEnc_unsigned_long_int__char_const___char_const___char_const___char_const__]
mov edi, eax
test edi, edi
je 0x1003af88
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003ae68
sub eax, edx
je 0x1003af88
push 0x34
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor ecx, ecx
cmp eax, ecx
je 0x1003ae96
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov esi, eax
jmp 0x1003ae98
xor esi, esi
push 0x34
push ecx
push esi
mov byte [esp + 0xa4], 0
mov dword [esp + 0x40], esi
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xbc]
mov dword [esi + 4], ecx
add esp, 0xc
lea ecx, [esp + 0x48]
mov dword [esi], eax
mov eax, dword [esp + 0xb4]
push ecx
lea ecx, [esi + 0x18]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
call fcn.10035d30
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x2c], edi
mov edi, dword [esp + 0xc0]
mov dword [esi + 0x28], edx
mov dword [esi + 0x30], edi
jne 0x1003af82
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x1003af2f
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003af20
sub eax, ebx
mov eax, edx
jne 0x1003af34
mov eax, str.Upload_File
push edi
push esi
push sym.NativeMng.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::UploadFileThread_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 0x1003af88
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 ebx, esi
jmp 0x1003af8c
push esi
call sym.NativeMng.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::UploadFileThread_void__
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x1c], 0x10
lea esi, [ebx + 4]
jb 0x1003afb8
mov eax, dword [esi + 4]
jmp 0x1003afbb
mov ecx, dword [ebx + 0x58]
push 0x9896ef
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
push str._NativeFCMSWrapper__uploadFile__Fail_:_aInFilePath_is_null
push ebx
call sym.NativeMng.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1003af8c
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 0x1003afe7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1003b000
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 0x1003b069
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 0x1003b069
cmp ecx, edi
mov ebx, edi
jbe 0x1003b039
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 ebp, ecx
jbe 0x1003b049
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push esi
lea eax, [esp + 0x50]
push ebp
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 0x1003b09c
cmp ecx, edi
mov esi, ecx
je 0x1003b093
mov edi, edi
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 0x1003b080
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 0x24