Function at 0x41f0c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4265ee
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x4e0]
call dword [0x427664]
push 0x427d94
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push 0x427d94
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push 0x427d94
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push 0x427d94
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
push 0x200
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 4
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
mov dword [ebp - 0x47c], 0
add esp, 0x18
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f1a0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x48c]
call fcn.004093b0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48c]
cmp dword [ebp - 0x478], 0x10
lea ecx, [ebp - 0x4b4]
cmovae eax, dword [ebp - 0x48c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push 1
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x4b4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov edi, eax
mov ecx, edi
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
push 0x42a788
lea ecx, [ebp - 0x4b0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
mov byte [ebp - 4], 7
mov ecx, edi
push dword [ebp - 0x4b0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
lea ecx, [ebp - 0x4b0]
mov edi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test edi, edi
je 0x41f255
push 0x42a788
lea ecx, [ebp - 0x4b4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push 0x42cd18
lea ecx, [ebp - 0x4b4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push 0xa
push 0x429d0c
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
call fcn.004093b0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x4c0], esp
push 0xd
push 0x429d78
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.004093b0
lea eax, [ebp - 0x4b0]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [esi + 0x3e8]
call fcn.0040f400
push eax
mov byte [ebp - 4], 8
call fcn.0040b050
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x490]
cmp edx, 0x10
jb 0x41f330
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f326
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41f326
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042313b
add esp, 8
push 0
push dword [ebp - 0x4b4]
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.mfc140u.dll_CFileFind::FindFile]
test eax, eax
je 0x41f63c
mov edi, dword [ebp - 0x4b0]
push 1
push dword [esi + 0x400]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41f733
cmp dword [esi + 0x66c], 6
je 0x41f6e2
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.mfc140u.dll_CFileFind::FindNextFileW]
mov edx, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4e0]
push 0x10
mov ebx, eax
call dword [edx + 0x40]
test eax, eax
jne 0x41f634
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.mfc140u.dll_CFileFind::IsDots]
test eax, eax
jne 0x41f634
mov ecx, esi
call fcn.004195a0
mov ecx, esi
call fcn.00419340
mov eax, dword [0x435e5c]
cmp eax, 1
jl 0x41f6cb
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.mfc140u.dll_CFileFind::GetFileName]
push eax
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.mfc140u.dll_CFileFind::GetFilePath]
push eax
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x4b8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push eax
lea eax, [ebp - 0x274]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x4b8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x4a8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push eax
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x4a8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push str.PrintDataLog
lea ecx, [ebp - 0x4a8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
cmp eax, 0xffffffff
jg 0x41f634
lea eax, [ebp - 0x4c0]
push eax
push dword [esi + 0x3f0]
call dword [sym.imp.Unisoc_Solution_MES.dll_MES_GetMesType]
push 0
push str..csv
lea ecx, [ebp - 0x4a8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
jns 0x41f4fc
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
jmp 0x41f634
push 0
push str._UOK_
lea ecx, [ebp - 0x4a8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
jg 0x41f624
push 0
push str._UNOK_
lea ecx, [ebp - 0x4a8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
test eax, eax
jg 0x41f624
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4ac]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
push 0
push 0x42cdf8
lea ecx, [ebp - 0x4ac]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
push eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4ac]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
push eax
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x4ac]
push 0
push 0x7e9
push dword [0x435e4c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x4c0]
sub eax, 0
je 0x41f5d0
sub eax, 1
jne 0x41f634
lea eax, [ebp - 0x274]
mov ecx, esi
push eax
call fcn.0041e080
test al, al
jne 0x41f634
inc dword [esi + 0x66c]
jmp 0x41f634
test edi, edi
jle 0x41f67c
cmp edi, 2
jle 0x41f605
cmp edi, 3
jne 0x41f67c
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
lea eax, [ebp - 0x274]
push eax
push edi
call fcn.0041ae70
test al, al
jne 0x41f634
inc dword [esi + 0x66c]
jmp 0x41f634
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
lea eax, [ebp - 0x274]
push eax
push edi
call fcn.0041d5b0
test al, al
jne 0x41f634
inc dword [esi + 0x66c]
jmp 0x41f634
push 4
lea eax, [ebp - 0x274]
mov ecx, esi
push eax
call fcn.0041f7d0
test ebx, ebx
jne 0x41f352
mov bl, 1
mov edx, dword [ebp - 0x478]
cmp edx, 0x10
jb 0x41f750
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f746
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41f746
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x42cdfc
lea ecx, [ebp - 0x4ac]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push dword [ebp - 0x4ac]
push 0
push 0x7e9
push dword [0x435e4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push str._d_Invalid_Upload_Method
push 0x19
push dword [esi + 0x3f4]
call dword [sym.imp.Unisoc_Solution_PrintLog.dll_PLOG_Print_Detail_Log]
add esp, 0x10
mov ecx, esi
call fcn.00420d00
xor bl, bl
jmp 0x41f63e
test eax, eax
mov ecx, esi
setg al
movzx eax, al
push eax
call fcn.00419250
xor bl, bl
jmp 0x41f63e
mov ecx, esi
call fcn.00420d00
push 0x200
lea eax, [ebp - 0x474]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.Please_contact_the_engineer_to_confirm_this_issue._r_nIf_you_want_to_try_uploading_again__r_nPlease_right_click_the_UI_and_select__Upload_Data_Log_On_.
lea eax, [ebp - 0x474]
push 0x200
push eax
call fcn.00407790
add esp, 0x18
lea eax, [ebp - 0x474]
push eax
push 0
push 0x7e9
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor bl, bl
jmp 0x41f63e
push dword [esi + 0x400]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor bl, bl
jmp 0x41f63e
push edx
push ecx
call fcn.0042313b
add esp, 8
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4b4]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4a8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4b8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.mfc140u.dll_CFileFind::CFileFind]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422eb6
mov esp, ebp
pop ebp
ret 4