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

Disassembly:
push 0xffffffffffffffff
push 0x1002fa18
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
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 0x1002874b
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100282c0
sub eax, esi
je 0x1002874b
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 0x10035b24
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.NativeMngUAC.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 0x10028347
mov dword [esp + 0x1c], edi
jmp 0x10028362
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 0x10028384
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 0x100285c9
xor edi, edi
mov dword [esp + 0x20], edi
test esi, esi
je 0x100283b3
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 0x100283bd
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.NativeMngUAC.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 0x10028524
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x100283f5
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 0x100283ff
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
cmp dword [edi + esi + 0x18], 0x10
jb 0x1002840c
mov esi, dword [edi + esi + 4]
jmp 0x10028410
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 0x10028420
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.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
cmp eax, edi
jne 0x10028545
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 0x1002846b
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test edi, edi
jne 0x10028545
push ebx
lea ecx, [esp + 0x4c]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10028488
mov eax, dword [eax + 4]
jmp 0x1002848b
add eax, 4
lea edx, [esp + 0x40]
push edx
push eax
push 0xfde9
mov ecx, ebp
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x10028566
mov edi, dword [esp + 0x44]
test edi, edi
jg 0x10028587
mov esi, dword [esp + 0x40]
jl 0x100284c3
cmp esi, 0x80000000
ja 0x10028587
cmp dword [esp + 0x28], 0
jne 0x10028501
push ebx
lea ecx, [esp + 0x4c]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x100284df
mov eax, dword [eax + 4]
jmp 0x100284e2
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 0x100285a8
add dword [esp + 0x20], 0x1c
add ebx, 1
cmp ebx, dword [esp + 0x1c]
jge 0x100285c9
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
jmp 0x10028396
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002873d
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002873d
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002873d
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002873d
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002873d
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 0x100385cc
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 0x10028739
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10028610
sub eax, edx
je 0x10028739
push 0x3c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor ecx, ecx
cmp eax, ecx
je 0x1002863e
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov esi, eax
jmp 0x10028640
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.10022eb0
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 0x10028733
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x100286e0
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100286d1
sub eax, ebx
mov eax, edx
jne 0x100286e5
mov eax, str.Upload_File
push edi
push esi
push sym.NativeMngUAC.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 0x10028739
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
mov ebp, esi
jmp 0x1002873d
push esi
call sym.NativeMngUAC.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::UploadFileThreadEx_void__
mov ebp, dword [esp + 0x18]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 4]
jb 0x10028769
mov eax, dword [esi + 4]
jmp 0x1002876c
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002873d
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
mov ebx, eax
push 0x10033982
mov ecx, esi
mov dword [esp + 0x3c], ebx
call dword [0x100321b0]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10028798
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x100287b1
lea ecx, [esi + 0x18]
call fcn.10021480
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 0x1002881a
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 0x1002881a
cmp ecx, edi
mov ebp, edi
jbe 0x100287ea
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 0x100287fa
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.100219f0
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x98], 0xffffffff
je 0x1002884c
cmp ecx, edi
mov esi, ecx
je 0x10028843
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 0x10028830
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