Function at 0x10027c20
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 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 0x1002811a
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10027ca0
sub eax, esi
je 0x1002811a
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, ebx
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 0x10027d27
mov dword [esp + 0x1c], edi
jmp 0x10027d42
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 0x10027d64
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 0x10027fa9
xor edi, edi
mov dword [esp + 0x20], edi
test esi, esi
je 0x10027d93
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 0x10027d9d
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.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 0x10027f04
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x10027dd5
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 0x10027ddf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x4c]
cmp dword [edi + esi + 0x18], 0x10
jb 0x10027dec
mov esi, dword [edi + esi + 4]
jmp 0x10027df0
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 0x10027e00
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.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_MultiByteToWideChar_unsigned_int__wchar_t____int___char___int_
cmp eax, edi
jne 0x10027f25
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 0x10027e4b
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test edi, edi
jne 0x10027f25
push ebp
lea ecx, [esp + 0x4c]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10027e68
mov eax, dword [eax + 4]
jmp 0x10027e6b
add eax, 4
lea edx, [esp + 0x40]
push edx
push eax
push 0xfde9
mov ecx, ebx
call sym.NativeMngUAC.dll_public:_int___thiscall_NativeFCMSWrapper::XMF_GetFileSize_unsigned_int__char_const___long_long___int64___
test eax, eax
jne 0x10027f46
mov edi, dword [esp + 0x44]
test edi, edi
jg 0x10027f67
mov esi, dword [esp + 0x40]
jl 0x10027ea3
cmp esi, 0x80000000
ja 0x10027f67
cmp dword [esp + 0x28], 0
jne 0x10027ee1
push ebp
lea ecx, [esp + 0x4c]
call fcn.1001bba0
cmp dword [eax + 0x18], 0x10
jb 0x10027ebf
mov eax, dword [eax + 4]
jmp 0x10027ec2
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 0x10027f88
add dword [esp + 0x20], 0x1c
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jge 0x10027fa9
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
jmp 0x10027d76
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002810c
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002810c
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002810c
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002810c
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002810c
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 0x100385cc
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 0x10028108
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10027fe8
sub eax, edx
je 0x10028108
push 0x34
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor ecx, ecx
cmp eax, ecx
je 0x10028016
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov esi, eax
jmp 0x10028018
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.10022eb0
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 0x10028102
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x100280af
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100280a0
sub eax, ebx
mov eax, edx
jne 0x100280b4
mov eax, str.Upload_File
push edi
push esi
push sym.NativeMngUAC.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 0x10028108
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 ebx, esi
jmp 0x1002810c
push esi
call sym.NativeMngUAC.dll_protected:_static_unsigned_int___stdcall_NativeFCMSWrapper::UploadFileThread_void__
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x1c], 0x10
lea esi, [ebx + 4]
jb 0x10028138
mov eax, dword [esi + 4]
jmp 0x1002813b
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.NativeMngUAC.dll_public:_void___cdecl_NativeFCMSWrapper::logDebug_char_const__
add esp, 8
jmp 0x1002810c
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 0x10028167
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x10028180
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 0x100281e9
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 0x100281e9
cmp ecx, edi
mov ebx, edi
jbe 0x100281b9
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 0x100281c9
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.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 0x1002821c
cmp ecx, edi
mov esi, ecx
je 0x10028213
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 0x10028200
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