Function at 0x42d820
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473d91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a4
push ebx
push esi
push edi
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x10], esp
call fcn.00443f37
mov eax, dword [0x48fb24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
push 0x14
mov byte [ebp - 4], 0xa
mov dword [ebx + 0x60], edi
call fcn.00463d8c
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
cmp esi, edi
mov byte [ebp - 4], 0xb
je 0x42d8b3
call fcn.0046c38b
mov eax, dword [eax + 0x10]
push edi
push edi
push edi
push edi
push 1
push eax
mov ecx, esi
call fcn.0046afc4
jmp 0x42d8b5
xor eax, eax
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.Connect_FTP
mov dword [ebx + 0x5c], eax
mov byte [ebp - 4], 0xc
call fcn.00462906
mov ecx, ebx
call fcn.004089b0
mov eax, dword [0x4c5c38]
mov ecx, dword [0x4c5c58]
mov edx, dword [0x4c5c5c]
push eax
mov eax, dword [0x4c5c60]
push 0x15
push ecx
mov ecx, dword [ebx + 0x5c]
push edx
push eax
call fcn.0046b0bf
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.Connect_FTP_PASS
mov dword [ebx + 0x60], eax
call fcn.00462906
mov ecx, ebx
call fcn.004089b0
mov ecx, dword [0x4c5c60]
lea edx, [ebp - 0x14]
push ecx
push str.Connect__s_Success__
push edx
call fcn.00461a66
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push str.connect_success__
lea ecx, [ebx + 0x41c]
call fcn.004672ef
push edi
mov ecx, ebx
call fcn.004668c5
push 0x24
mov dword [ebp - 4], 0xa
call fcn.00463d8c
add esp, 4
mov dword [ebp + 8], eax
cmp eax, edi
mov byte [ebp - 4], 0x14
je 0x42d985
mov ecx, dword [ebx + 0x60]
push 1
push ecx
mov ecx, eax
call fcn.0046b409
mov esi, eax
jmp 0x42d987
xor esi, esi
mov eax, dword [0x493bb0]
mov dword [ebp - 0x2c], esi
cmp eax, edi
mov byte [ebp - 4], 0xa
jne 0x42d9a2
mov edx, dword [0x493b84]
mov dword [ebp - 0x5c], edx
jmp 0x42d9bf
cmp eax, 1
jne 0x42d9b1
mov eax, dword [0x493b98]
mov dword [ebp - 0x5c], eax
jmp 0x42d9bf
cmp eax, 2
jne 0x42d9bf
mov ecx, dword [0x493ba0]
mov dword [ebp - 0x5c], ecx
mov edx, dword [0x4c5c2c]
mov eax, dword [0x4c5c28]
mov ecx, dword [0x4c5c24]
push edx
push eax
push ecx
lea edx, [ebp - 0x8c]
push str._04d_02d_02d
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x8c]
push eax
call fcn.0044bf39
mov ecx, dword [ebp - 0x5c]
add esp, 0x18
cmp eax, ecx
mov dword [ebp - 0x60], eax
jbe 0x430e14
mov ecx, dword [0x48fb24]
mov dword [ebp - 0x4c], ecx
mov eax, 0x51eb851f
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mul dword [ebp - 0x5c]
mov eax, 0x51eb851f
mov edi, edx
mul dword [ebp - 0x60]
shr edi, 5
shr edx, 5
cmp edi, edx
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x34], edi
ja 0x42e743
mov edx, dword [0x491f50]
push edx
push 0
push str.Enable
push str.CloseAP
call esi
cmp eax, 1
je 0x42e712
mov eax, dword [0x491f50]
push eax
push 0
push str.Enable
push str.SeachNoSendFile
call esi
cmp eax, 1
je 0x42e71f
mov ecx, dword [0x491f50]
push ecx
push 0
push str.Enable
push str.LinkTest
call esi
cmp eax, 1
je 0x42e72c
mov eax, edi
xor edx, edx
mov ecx, 0x64
div ecx
mov edi, edx
cmp edi, 0xc
ja 0x42e6f0
test edi, edi
je 0x42e6f0
mov esi, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
push esi
push 0x48efe8
push edx
call fcn.00461a66
mov eax, 0x51eb851f
push edi
mul esi
mov eax, dword [0x491f20]
mov esi, edx
shr esi, 5
push esi
push eax
lea ecx, [ebp - 0x28]
push str._s_04d__02d_
push ecx
call fcn.00461a66
add esp, 0x1c
lea edx, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00438f20
add esp, 4
test eax, eax
jne 0x42db18
mov eax, dword [0x491f20]
push edi
push esi
push eax
lea ecx, [ebp - 0x28]
push 0x48efc8
push ecx
call fcn.00461a66
add esp, 0x14
push ecx
lea edx, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00438f20
add esp, 4
test eax, eax
je 0x42e6f0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Update_AutoHandle_Log_File
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x40]
push eax
call fcn.0046b3a2
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x90]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x40]
dec eax
push eax
push edx
call fcn.0046160f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x16
call fcn.004629d1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, dword [0x4c5c50]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x42dcb6
mov ecx, dword [0x4c5c50]
lea edx, [ebp - 0x14]
push ecx
push 0x48c84c
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
add esp, 0xc
push eax
call fcn.0046b392
test eax, eax
jne 0x42dcb6
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b382
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b392
test eax, eax
jne 0x42dcb6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
mov eax, dword [0x4c5c50]
push eax
lea ecx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push 0x4c5c50
lea eax, [ebp - 0x78]
push 0x48c818
push eax
call fcn.00462ba1
push 0x48c818
lea ecx, [ebp - 0x88]
push eax
push ecx
mov byte [ebp - 4], 0x17
call fcn.00462b2d
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x18
call fcn.004629d1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x17
call fcn.00462898
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b392
test eax, eax
jne 0x42dcb6
call esi
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x28]
lea esi, [ebx + 0x68]
push eax
push str._s.
push esi
call fcn.00461a66
mov esi, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
push esi
call fcn.00443ffa
push 0x3e8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x42e6f0
lea ecx, [ebp - 0xac]
call fcn.0044421a
mov edx, dword [ebp - 0xac]
push 0x10
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x48], eax
call dword [edx + 0x38]
test eax, eax
jne 0x42e6d7
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0xac]
push eax
call fcn.00444412
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.004629d1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
push ecx
push edx
lea eax, [ebp - 0x1c]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x18]
push str.DG1__DS_DIR_HDR
push ecx
call fcn.0044bf3e
add esp, 0x18
test eax, eax
je 0x42e6d7
lea edx, [ebp - 0x54]
push 6
push edx
lea ecx, [ebp - 0x18]
call fcn.0046168b
mov eax, dword [eax]
push str.HT3309
push eax
call fcn.0044bf3e
add esp, 8
lea ecx, [ebp - 0x54]
test eax, eax
sete byte [ebp + 0xb]
call fcn.00462898
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0x34]
test al, al
mov eax, ecx
je 0x42ddc6
xor edx, edx
mov esi, 0x64
div esi
mov eax, 0x51eb851f
push edx
mul ecx
shr edx, 5
push edx
lea eax, [ebp - 0x14]
push str.HT3309_Month_Report__04d__02d.txt
push eax
jmp 0x42dde4
xor edx, edx
mov esi, 0x64
div esi
mov eax, 0x51eb851f
push edx
mul ecx
shr edx, 5
push edx
lea ecx, [ebp - 0x14]
push str.Month_Report__04d__02d.txt
push ecx
call fcn.00461a66
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp - 0x1c]
push edx
call fcn.00461725
cmp eax, 0xffffffff
je 0x42e6d7
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
call fcn.004390b0
add esp, 4
test al, al
je 0x42de3d
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str.Check_File_is_Lock_Time_out_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x42e6d7
lea eax, [ebp - 0x70]
push 6
push eax
lea ecx, [ebp - 0x18]
call fcn.0046168b
mov eax, dword [eax]
push str.HT3309
push eax
call fcn.0044bf3e
add esp, 8
lea ecx, [ebp - 0x70]
test eax, eax
sete byte [ebp + 0xb]
call fcn.00462898
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0x14]
test al, al
mov eax, dword [ecx - 8]
je 0x42dedb
add eax, 0xfffffff5
lea edx, [ebp - 0x80]
push eax
push 7
push edx
lea ecx, [ebp - 0x14]
call fcn.00461579
mov ecx, dword [0x491f4c]
mov edx, dword [0x4c5c20]
push ecx
mov ecx, dword [0x4c5c2c]
push edx
mov edx, dword [0x4c5c18]
push ecx
push edx
mov edx, dword [0x4c5c24]
push ecx
mov ecx, dword [0x4c5c28]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, dword [0x4c5c40]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x18]
push str._s__s__04d_02d_02d_02d_02d_02d__s.csv
push eax
call fcn.00461a66
add esp, 0x2c
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x80]
jmp 0x42df3c
add eax, 0xfffffffc
lea edx, [ebp - 0x68]
push eax
push edx
lea ecx, [ebp - 0x14]
call fcn.0046168b
mov ecx, dword [0x491f4c]
mov edx, dword [0x4c5c20]
push ecx
mov ecx, dword [0x4c5c2c]
push edx
mov edx, dword [0x4c5c18]
push ecx
push edx
mov edx, dword [0x4c5c24]
push ecx
mov ecx, dword [0x4c5c28]
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, dword [0x4c5c40]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x18]
push str._s__s__04d_02d_02d_02d_02d_02d__s.csv
push eax
call fcn.00461a66
add esp, 0x2c
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x68]
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x64]
push ecx
push edx
lea eax, [ebp - 0x38]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add esp, 0x10
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42dfa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
push eax
push ecx
push str._Error__Copy__s_to__s_failed____OSLastError_d
push edx
call fcn.00461a66
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42e6d7
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004629d1
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00439170
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x3c], edi
jne 0x42e00d
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Check_File_Size_not_Available_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
push ebx
call fcn.00439c60
add esp, 8
jmp 0x42e6d7
lea eax, [ebp - 0x84]
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0046160f
mov eax, dword [eax]
push 4
push str..Tmp
push eax
call fcn.0044c9de
add esp, 0xc
lea ecx, [ebp - 0x84]
test eax, eax
sete byte [ebp + 0xb]
call fcn.00462898
mov al, byte [ebp + 0xb]
test al, al
je 0x42e069
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str.Check_File_is_Temp_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x42e6d7
mov eax, dword [ebp - 0x18]
push 0x2e
lea ecx, [ebp - 0x18]
mov esi, dword [eax - 8]
call fcn.00461703
push 0x491f08
lea ecx, [ebp - 0x14]
sub esi, eax
call fcn.00462a21
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
cmp eax, 0xffffffff
je 0x42e12b
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
cmp eax, 0xffffffff
je 0x42e12b
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
push str._LEN
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00461725
mov ecx, 0xfffffffc
sub ecx, eax
add edi, ecx
lea ecx, [ebp - 0x18]
push edi
push str._LEN
call fcn.00461725
add eax, 4
lea edx, [ebp - 0x6c]
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00461579
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call fcn.004629d1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
push 0x491f08
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
jne 0x42e1ec
push edi
lea ecx, [ebp - 0x14]
push str._LEN_d_
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push edx
call fcn.004629d1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
mov eax, dword [eax - 8]
sub eax, esi
push eax
call fcn.0046133e
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42e1ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42e1ac
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str._20_Delete_Log_File_Fail_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
push edx
push eax
call fcn.00468354
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x18]
sub eax, esi
push eax
call fcn.0046133e
push 0
push ecx
lea ecx, [ebp - 0x18]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Change_Upload_File_Name_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push edx
call fcn.004629d1
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
push bind
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x42e28c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
mov ecx, esi
call fcn.00444471
cmp edi, eax
jne 0x42e25a
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push str.File__s_is_Exist_in_FTP__
push ecx
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42e6d7
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b35e
test eax, eax
jne 0x42e28c
push eax
push ecx
lea eax, [ebp - 0x18]
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.Cant_delete_remote_file_:
push edx
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
jmp 0x42e6d7
mov ecx, dword [0x48fb24]
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
mov esi, 1
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0046168b
mov ecx, dword [eax]
push esi
push ecx
lea edx, [ebp - 0x20]
push str._s.Tmp_d
push edx
mov byte [ebp - 4], 0x1e
call fcn.00461a66
add esp, 0x10
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00462898
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi]
push bind
push ecx
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x42e2f6
inc esi
cmp esi, 0xa
jl 0x42e2a1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x60]
push 1
push 2
push edx
push eax
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 1
test edi, edi
jne 0x42e34f
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 1
push 2
push ecx
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jbe 0x42e31c
test edi, edi
je 0x42e518
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
push bind
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x42e4e9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
mov ecx, esi
call fcn.00444471
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
je 0x42e3b0
push ecx
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
push str._Fail_Remote_Log_File__s_Size_not_correct__d_vs__d__
push ecx
call fcn.00461a66
add esp, 0x10
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42e6cb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b36e
test eax, eax
jne 0x42e3f7
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push edx
push eax
lea ecx, [ebp - 0x14]
push str._Fail_Remote_Log_File_Rename_Fail__s_vs__s__
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42e6cb
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi]
push bind
push ecx
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
jne 0x42e43a
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str._Fail_Remote_Log_File__s_Cant_Found__
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42e6cb
push 0
push ecx
lea ecx, [ebp - 0x24]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Upload_File_Name_PASS_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str.Send__s_ok.
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x48bd8c
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x1d
call fcn.0040b2a0
mov eax, dword [ebp - 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42e6cb
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push ecx
push str._Fail_Remote_Log_File__s_Cant_Found__
push edx
call fcn.00461a66
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42e6cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
mov esi, eax
push esi
push ecx
lea edx, [ebp - 0x14]
push str.Error__File__s_wasnt_sent____GetLastError_d
push edx
mov dword [ebp - 0x64], esi
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push esi
lea ecx, [ebp - 0x14]
push 0x48bdc8
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
mov byte [ebp - 4], 0x22
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x1d
call fcn.0040b2a0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_
push edx
call fcn.00461a66
mov edi, dword [ebp - 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x1b0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 8], eax
lea edi, [ebp + ecx - 0x1b0]
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x1b0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x42e652
cmp eax, 3
jne 0x42e64b
cmp byte [edi], 0x5c
je 0x42e646
lea eax, [ebp - 0x1b0]
cmp edi, eax
je 0x42e66e
mov al, byte [edi - 1]
dec edi
cmp al, 0x5c
jne 0x42e634
mov byte [edi], 0
jmp 0x42e662
cmp eax, 0xb7
jne 0x42e66e
cmp edi, dword [ebp - 0x3c]
je 0x42e66e
mov byte [edi], 0x5c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42e65a
mov eax, dword [ebp + 8]
inc eax
cmp eax, 0xa
mov dword [ebp + 8], eax
jl 0x42e60f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push edx
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_s
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x64]
cmp eax, 0x2ee2
je 0x42e6e4
cmp eax, 0x2ee3
je 0x42e6e4
cmp eax, 0x2f4f
je 0x42e6e4
cmp eax, 0x2efe
je 0x42e6e4
cmp eax, 0x2eff
je 0x42e6e4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x42dcf0
jmp 0x42e6f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, 0x51eb851f
mov edi, dword [ebp - 0x34]
mul dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
inc edi
shr edx, 5
cmp edi, edx
mov dword [ebp - 0x34], edi
jbe 0x42da37
jmp 0x42e743
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Close_AP_Event...
jmp 0x42e737
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_SeachNoSendFile_Event...
jmp 0x42e737
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_LinkTest_Event...
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
mov dword [ebp - 0x34], eax
ja 0x42f365
mov edi, eax
mov eax, dword [0x491f50]
push eax
push 0
push str.Enable
push str.CloseAP
call esi
cmp eax, 1
je 0x42f334
mov ecx, dword [0x491f50]
push ecx
push 0
push str.Enable
push str.SeachNoSendFile
call esi
cmp eax, 1
je 0x42f341
mov edx, dword [0x491f50]
push edx
push 0
push str.Enable
push str.LinkTest
call esi
cmp eax, 1
je 0x42f34e
mov eax, edi
xor edx, edx
mov ecx, 0x64
div ecx
mov ecx, edx
cmp ecx, 0x1f
ja 0x42f31d
mov eax, edi
xor edx, edx
mov esi, 0x2710
div esi
mov esi, edx
cmp esi, 0x4cf
ja 0x42f31d
test ecx, ecx
je 0x42f31d
push edi
lea edx, [ebp - 0x44]
push 0x48ecc0
push edx
call fcn.00461a66
mov eax, 0x51eb851f
lea ecx, [ebp - 0x28]
mul esi
shr edx, 5
mov eax, 0xd1b71759
push edx
mul edi
mov eax, dword [0x491f20]
shr edx, 0xd
push edx
push eax
push str._sAlarm_List_04d__02d_
push ecx
call fcn.00461a66
add esp, 0x1c
lea edx, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00438f20
add esp, 4
test eax, eax
je 0x42f31d
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Update_AutoHandle_Alarm_Log_File
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x40]
push eax
call fcn.0046b3a2
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x48]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x40]
dec eax
push eax
push edx
call fcn.0046160f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x25
call fcn.004629d1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, dword [0x4c5c50]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x42e9b3
mov ecx, dword [0x4c5c50]
lea edx, [ebp - 0x14]
push ecx
push 0x48c84c
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
add esp, 0xc
push eax
call fcn.0046b392
test eax, eax
jne 0x42e9b3
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b382
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b392
test eax, eax
jne 0x42e9b3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
mov eax, dword [0x4c5c50]
push eax
lea ecx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push 0x4c5c50
lea eax, [ebp - 0x74]
push 0x48c818
push eax
call fcn.00462ba1
push 0x48c818
lea ecx, [ebp - 0x64]
push eax
push ecx
mov byte [ebp - 4], 0x26
call fcn.00462b2d
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x27
call fcn.004629d1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x26
call fcn.00462898
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b392
test eax, eax
jne 0x42e9b3
call esi
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x28]
lea esi, [ebx + 0x68]
push eax
push str._s.
push esi
call fcn.00461a66
mov esi, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
push esi
call fcn.00443ffa
push 0x3e8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x42f31d
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0xac]
call fcn.0044421a
mov edx, dword [ebp - 0xac]
push 0x10
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x78], eax
call dword [edx + 0x38]
test eax, eax
jne 0x42f301
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xac]
push eax
call fcn.00444412
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x28
call fcn.004629d1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
push ecx
push edx
lea eax, [ebp - 0x1c]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x18]
push str.DG1__DS_DIR_HDR
push ecx
call fcn.0044bf3e
add esp, 0x18
test eax, eax
je 0x42f301
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, ecx
mov esi, 0x64
div esi
mov eax, ecx
mov esi, 0x2710
push edx
xor edx, edx
div esi
mov eax, 0x51eb851f
mul edx
shr edx, 5
mov eax, 0xd1b71759
push edx
mul ecx
shr edx, 0xd
push edx
lea edx, [ebp - 0x14]
push str._04d__02d__02d.csv
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ebp - 0x1c]
push eax
call fcn.00461725
cmp eax, 0xffffffff
je 0x42f301
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.004390b0
add esp, 4
test al, al
je 0x42eb00
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Check_File_is_Lock_Time_out_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x42f301
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0046168b
mov ecx, dword [0x491f4c]
mov edx, dword [0x4c5c20]
push ecx
mov ecx, dword [0x4c5c2c]
push edx
mov edx, dword [0x4c5c18]
push ecx
push edx
mov edx, dword [0x4c5c24]
push ecx
mov ecx, dword [0x4c5c28]
mov byte [ebp - 4], 0x29
push ecx
mov ecx, dword [0x4c5c40]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.Day_Report__s__s__04d_02d_02d_02d_02d_02d__s.csv
push eax
call fcn.00461a66
add esp, 0x2c
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x64]
push ecx
push edx
lea eax, [ebp - 0x38]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add esp, 0x10
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42ebd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
push eax
push ecx
push str._Error__Copy__s_to__s_failed____OSLastError_d
push edx
call fcn.00461a66
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42f301
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004629d1
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00439170
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x42ec3c
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Check_File_Size_not_Available_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
push ebx
call fcn.00439c60
add esp, 8
jmp 0x42f301
lea eax, [ebp - 0x68]
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0046160f
mov eax, dword [eax]
push 4
push str..Tmp
push eax
call fcn.0044c9de
add esp, 0xc
lea ecx, [ebp - 0x68]
test eax, eax
sete byte [ebp + 0xb]
call fcn.00462898
mov al, byte [ebp + 0xb]
test al, al
je 0x42ec92
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str.Check_File_is_Temp_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x42f301
mov eax, dword [ebp - 0x18]
push 0x2e
lea ecx, [ebp - 0x18]
mov esi, dword [eax - 8]
call fcn.00461703
push 0x491f08
lea ecx, [ebp - 0x14]
sub esi, eax
call fcn.00462a21
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
cmp eax, 0xffffffff
je 0x42ed54
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
cmp eax, 0xffffffff
je 0x42ed54
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
push str._LEN
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00461725
mov ecx, 0xfffffffc
sub ecx, eax
add edi, ecx
lea ecx, [ebp - 0x18]
push edi
push str._LEN
call fcn.00461725
add eax, 4
lea edx, [ebp - 0x80]
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00461579
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2a
call fcn.004629d1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
push 0x491f08
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
jne 0x42ee18
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
push ecx
push str._LEN_d_
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.004629d1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
call fcn.0046133e
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42edd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42edd8
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str._20_Delete_Log_File_Fail_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00468354
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [edx - 8]
sub eax, esi
push eax
call fcn.0046133e
push 0
push ecx
lea eax, [ebp - 0x18]
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.Change_Upload_File_Name_:
push edx
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004629d1
mov eax, dword [ebp - 0x24]
mov edx, dword [edi]
push bind
push eax
mov ecx, edi
call dword [edx + 0x40]
test eax, eax
je 0x42eeb6
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x44]
mov ecx, edi
call fcn.00444471
cmp dword [ebp - 0x3c], eax
jne 0x42ee84
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push str.File__s_is_Exist_in_FTP__
push ecx
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42f301
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b35e
test eax, eax
jne 0x42eeb6
push eax
push ecx
lea eax, [ebp - 0x18]
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.Cant_delete_remote_file_:
push edx
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
jmp 0x42f301
mov ecx, dword [0x48fb24]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0x2b
mov esi, 1
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0046168b
mov ecx, dword [eax]
push esi
push ecx
lea edx, [ebp - 0x20]
push str._s.Tmp_d
push edx
mov byte [ebp - 4], 0x2c
call fcn.00461a66
add esp, 0x10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2b
call fcn.00462898
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi]
push bind
push ecx
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x42ef1d
inc esi
cmp esi, 0xa
jl 0x42eec8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x60]
push 1
push 2
push edx
push eax
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 1
test edi, edi
jne 0x42ef76
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 1
push 2
push ecx
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jbe 0x42ef43
test edi, edi
je 0x42f13f
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
push bind
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x42f110
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
mov ecx, esi
call fcn.00444471
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
je 0x42efd7
push ecx
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
push str._Fail_Remote_Log_File__s_Size_not_correct__d_vs__d__
push ecx
call fcn.00461a66
add esp, 0x10
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42f2f2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b36e
test eax, eax
jne 0x42f01e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push edx
push eax
lea ecx, [ebp - 0x14]
push str._Fail_Remote_Log_File_Rename_Fail__s_vs__s__
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42f2f2
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi]
push bind
push ecx
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
jne 0x42f061
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str._Fail_Remote_Log_File__s_Cant_Found__
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42f2f2
push 0
push ecx
lea ecx, [ebp - 0x24]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Upload_File_Name_PASS_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str.Send__s_ok.
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x2d
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x48bd8c
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x2e
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x2f
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x2b
call fcn.0040b2a0
mov eax, dword [ebp - 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42f2f2
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push ecx
push str._Fail_Remote_Log_File__s_Cant_Found__
push edx
call fcn.00461a66
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42f2f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
mov esi, eax
push esi
push ecx
lea edx, [ebp - 0x14]
push str.Error__File__s_wasnt_sent____GetLastError_d
push edx
mov dword [ebp - 0x7c], esi
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push esi
lea ecx, [ebp - 0x14]
push 0x48bdc8
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x58], esp
push edx
mov byte [ebp - 4], 0x30
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x32
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x2b
call fcn.0040b2a0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_
push edx
call fcn.00461a66
mov edi, dword [ebp - 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x1b0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 8], eax
lea edi, [ebp + ecx - 0x1b0]
mov dword [ebp - 0x54], edi
lea ecx, [ebp - 0x1b0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x42f279
cmp eax, 3
jne 0x42f272
cmp byte [edi], 0x5c
je 0x42f26d
lea eax, [ebp - 0x1b0]
cmp edi, eax
je 0x42f295
mov al, byte [edi - 1]
dec edi
cmp al, 0x5c
jne 0x42f25b
mov byte [edi], 0
jmp 0x42f289
cmp eax, 0xb7
jne 0x42f295
cmp edi, dword [ebp - 0x54]
je 0x42f295
mov byte [edi], 0x5c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42f281
mov eax, dword [ebp + 8]
inc eax
cmp eax, 0xa
mov dword [ebp + 8], eax
jl 0x42f236
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push edx
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_s
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x7c]
cmp eax, 0x2ee2
je 0x42f30e
cmp eax, 0x2ee3
je 0x42f30e
cmp eax, 0x2f4f
je 0x42f30e
cmp eax, 0x2efe
je 0x42f30e
cmp eax, 0x2eff
je 0x42f30e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x42e9f0
jmp 0x42f31a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
inc edi
cmp edi, eax
mov dword [ebp - 0x34], edi
jbe 0x42e756
jmp 0x42f365
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Close_AP_Event...
jmp 0x42f359
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_SeachNoSendFile_Event...
jmp 0x42f359
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_LinkTest_Event...
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
mov dword [ebp - 0x34], eax
ja 0x42ff87
mov edi, eax
mov eax, dword [0x491f50]
push eax
push 0
push str.Enable
push str.CloseAP
call esi
cmp eax, 1
je 0x42ff56
mov ecx, dword [0x491f50]
push ecx
push 0
push str.Enable
push str.SeachNoSendFile
call esi
cmp eax, 1
je 0x42ff63
mov edx, dword [0x491f50]
push edx
push 0
push str.Enable
push str.LinkTest
call esi
cmp eax, 1
je 0x42ff70
mov eax, edi
xor edx, edx
mov ecx, 0x64
div ecx
mov ecx, edx
cmp ecx, 0x1f
ja 0x42ff3f
mov eax, edi
xor edx, edx
mov esi, 0x2710
div esi
mov esi, edx
cmp esi, 0x4cf
ja 0x42ff3f
test ecx, ecx
je 0x42ff3f
push edi
lea edx, [ebp - 0x44]
push 0x48ecc0
push edx
call fcn.00461a66
mov eax, 0x51eb851f
lea ecx, [ebp - 0x28]
mul esi
shr edx, 5
mov eax, 0xd1b71759
push edx
mul edi
mov eax, dword [0x491f20]
shr edx, 0xd
push edx
push eax
push str._s_04d__02d_
push ecx
call fcn.00461a66
add esp, 0x1c
lea edx, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00438f20
add esp, 4
test eax, eax
je 0x42ff3f
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Update_Day_Report_Log_File
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x40]
push eax
call fcn.0046b3a2
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x48]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x40]
dec eax
push eax
push edx
call fcn.0046160f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x33
call fcn.004629d1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, dword [0x4c5c50]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x42f5d5
mov ecx, dword [0x4c5c50]
lea edx, [ebp - 0x14]
push ecx
push 0x48c84c
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
add esp, 0xc
push eax
call fcn.0046b392
test eax, eax
jne 0x42f5d5
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b382
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b392
test eax, eax
jne 0x42f5d5
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
mov eax, dword [0x4c5c50]
push eax
lea ecx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push 0x4c5c50
lea eax, [ebp - 0x74]
push 0x48c818
push eax
call fcn.00462ba1
push 0x48c818
lea ecx, [ebp - 0x64]
push eax
push ecx
mov byte [ebp - 4], 0x34
call fcn.00462b2d
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x35
call fcn.004629d1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x34
call fcn.00462898
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b392
test eax, eax
jne 0x42f5d5
call esi
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x28]
lea esi, [ebx + 0x68]
push eax
push str._s.
push esi
call fcn.00461a66
mov esi, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
push esi
call fcn.00443ffa
push 0x3e8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x42ff3f
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0xac]
call fcn.0044421a
mov edx, dword [ebp - 0xac]
push 0x10
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x78], eax
call dword [edx + 0x38]
test eax, eax
jne 0x42ff23
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xac]
push eax
call fcn.00444412
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x36
call fcn.004629d1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
push ecx
push edx
lea eax, [ebp - 0x1c]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x18]
push str.DG1__DS_DIR_HDR
push ecx
call fcn.0044bf3e
add esp, 0x18
test eax, eax
je 0x42ff23
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, ecx
mov esi, 0x64
div esi
mov eax, ecx
mov esi, 0x2710
push edx
xor edx, edx
div esi
mov eax, 0x51eb851f
mul edx
shr edx, 5
mov eax, 0xd1b71759
push edx
mul ecx
shr edx, 0xd
push edx
lea edx, [ebp - 0x14]
push str.Day_Report__04d__02d__02d.txt
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ebp - 0x1c]
push eax
call fcn.00461725
cmp eax, 0xffffffff
je 0x42ff23
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.004390b0
add esp, 4
test al, al
je 0x42f722
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Check_File_is_Lock_Time_out_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x42ff23
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0046168b
mov ecx, dword [0x491f4c]
mov edx, dword [0x4c5c20]
push ecx
mov ecx, dword [0x4c5c2c]
push edx
mov edx, dword [0x4c5c18]
push ecx
push edx
mov edx, dword [0x4c5c24]
push ecx
mov ecx, dword [0x4c5c28]
mov byte [ebp - 4], 0x37
push ecx
mov ecx, dword [0x4c5c40]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x18]
push str._s__s__04d_02d_02d_02d_02d_02d__s.txt
push eax
call fcn.00461a66
add esp, 0x2c
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x64]
push ecx
push edx
lea eax, [ebp - 0x38]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add esp, 0x10
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42f7fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
push eax
push ecx
push str._Error__Copy__s_to__s_failed____OSLastError_d
push edx
call fcn.00461a66
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42ff23
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004629d1
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00439170
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x42f85e
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Check_File_Size_not_Available_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
push ebx
call fcn.00439c60
add esp, 8
jmp 0x42ff23
lea eax, [ebp - 0x68]
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0046160f
mov eax, dword [eax]
push 4
push str..Tmp
push eax
call fcn.0044c9de
add esp, 0xc
lea ecx, [ebp - 0x68]
test eax, eax
sete byte [ebp + 0xb]
call fcn.00462898
mov al, byte [ebp + 0xb]
test al, al
je 0x42f8b4
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str.Check_File_is_Temp_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x42ff23
mov eax, dword [ebp - 0x18]
push 0x2e
lea ecx, [ebp - 0x18]
mov esi, dword [eax - 8]
call fcn.00461703
push 0x491f08
lea ecx, [ebp - 0x14]
sub esi, eax
call fcn.00462a21
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
cmp eax, 0xffffffff
je 0x42f976
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
cmp eax, 0xffffffff
je 0x42f976
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
push str._LEN
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00461725
mov ecx, 0xfffffffc
sub ecx, eax
add edi, ecx
lea ecx, [ebp - 0x18]
push edi
push str._LEN
call fcn.00461725
add eax, 4
lea edx, [ebp - 0x80]
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00461579
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x38
call fcn.004629d1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
push 0x491f08
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
jne 0x42fa3a
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
push ecx
push str._LEN_d_
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.004629d1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
call fcn.0046133e
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42f9fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42f9fa
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str._20_Delete_Log_File_Fail_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00468354
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [edx - 8]
sub eax, esi
push eax
call fcn.0046133e
push 0
push ecx
lea eax, [ebp - 0x18]
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.Change_Upload_File_Name_:
push edx
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004629d1
mov eax, dword [ebp - 0x24]
mov edx, dword [edi]
push bind
push eax
mov ecx, edi
call dword [edx + 0x40]
test eax, eax
je 0x42fad8
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x44]
mov ecx, edi
call fcn.00444471
cmp dword [ebp - 0x3c], eax
jne 0x42faa6
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push str.File__s_is_Exist_in_FTP__
push ecx
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42ff23
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b35e
test eax, eax
jne 0x42fad8
push eax
push ecx
lea eax, [ebp - 0x18]
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.Cant_delete_remote_file_:
push edx
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
jmp 0x42ff23
mov ecx, dword [0x48fb24]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0x39
mov esi, 1
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0046168b
mov ecx, dword [eax]
push esi
push ecx
lea edx, [ebp - 0x20]
push str._s.Tmp_d
push edx
mov byte [ebp - 4], 0x3a
call fcn.00461a66
add esp, 0x10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x39
call fcn.00462898
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi]
push bind
push ecx
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x42fb3f
inc esi
cmp esi, 0xa
jl 0x42faea
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x60]
push 1
push 2
push edx
push eax
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 1
test edi, edi
jne 0x42fb98
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 1
push 2
push ecx
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jbe 0x42fb65
test edi, edi
je 0x42fd61
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
push bind
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x42fd32
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
mov ecx, esi
call fcn.00444471
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
je 0x42fbf9
push ecx
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
push str._Fail_Remote_Log_File__s_Size_not_correct__d_vs__d__
push ecx
call fcn.00461a66
add esp, 0x10
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42ff14
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b36e
test eax, eax
jne 0x42fc40
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push edx
push eax
lea ecx, [ebp - 0x14]
push str._Fail_Remote_Log_File_Rename_Fail__s_vs__s__
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42ff14
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi]
push bind
push ecx
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
jne 0x42fc83
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str._Fail_Remote_Log_File__s_Cant_Found__
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42ff14
push 0
push ecx
lea ecx, [ebp - 0x24]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Upload_File_Name_PASS_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str.Send__s_ok.
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x48bd8c
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x3d
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x39
call fcn.0040b2a0
mov eax, dword [ebp - 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42ff14
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push ecx
push str._Fail_Remote_Log_File__s_Cant_Found__
push edx
call fcn.00461a66
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x42ff14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
mov esi, eax
push esi
push ecx
lea edx, [ebp - 0x14]
push str.Error__File__s_wasnt_sent____GetLastError_d
push edx
mov dword [ebp - 0x7c], esi
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push esi
lea ecx, [ebp - 0x14]
push 0x48bdc8
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x58], esp
push edx
mov byte [ebp - 4], 0x3e
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x3f
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x40
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x39
call fcn.0040b2a0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_
push edx
call fcn.00461a66
mov edi, dword [ebp - 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x1b0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 8], eax
lea edi, [ebp + ecx - 0x1b0]
mov dword [ebp - 0x54], edi
lea ecx, [ebp - 0x1b0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x42fe9b
cmp eax, 3
jne 0x42fe94
cmp byte [edi], 0x5c
je 0x42fe8f
lea eax, [ebp - 0x1b0]
cmp edi, eax
je 0x42feb7
mov al, byte [edi - 1]
dec edi
cmp al, 0x5c
jne 0x42fe7d
mov byte [edi], 0
jmp 0x42feab
cmp eax, 0xb7
jne 0x42feb7
cmp edi, dword [ebp - 0x54]
je 0x42feb7
mov byte [edi], 0x5c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42fea3
mov eax, dword [ebp + 8]
inc eax
cmp eax, 0xa
mov dword [ebp + 8], eax
jl 0x42fe58
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push edx
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_s
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x7c]
cmp eax, 0x2ee2
je 0x42ff30
cmp eax, 0x2ee3
je 0x42ff30
cmp eax, 0x2f4f
je 0x42ff30
cmp eax, 0x2efe
je 0x42ff30
cmp eax, 0x2eff
je 0x42ff30
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x42f612
jmp 0x42ff3c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
inc edi
cmp edi, eax
mov dword [ebp - 0x34], edi
jbe 0x42f378
jmp 0x42ff87
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Close_AP_Event...
jmp 0x42ff7b
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_SeachNoSendFile_Event...
jmp 0x42ff7b
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_LinkTest_Event...
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov edi, eax
cmp eax, ecx
mov dword [ebp - 0x34], edi
ja 0x430d04
mov eax, dword [0x491f50]
push eax
push 0
push str.Enable
push str.CloseAP
call esi
cmp eax, 1
je 0x430cd3
mov ecx, dword [0x491f50]
push ecx
push 0
push str.Enable
push str.SeachNoSendFile
call esi
cmp eax, 1
je 0x430ce0
mov edx, dword [0x491f50]
push edx
push 0
push str.Enable
push str.LinkTest
call esi
cmp eax, 1
je 0x430ced
mov eax, edi
xor edx, edx
mov ecx, 0x64
div ecx
mov ecx, edx
cmp ecx, 0x1f
ja 0x430cbf
mov eax, edi
xor edx, edx
mov edi, 0x2710
div edi
cmp edx, 0x4cf
ja 0x430cbf
test ecx, ecx
je 0x430cbf
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x44]
push edx
push 0x48ecc0
push eax
call fcn.00461a66
mov ecx, dword [0x491f20]
lea edx, [ebp - 0x28]
push ecx
push str._sAlarmTimeReport_
push edx
call fcn.00461a66
add esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
call fcn.00438f20
add esp, 4
test eax, eax
jne 0x43013f
lea ecx, [ebp - 0x48]
push 1
push ecx
mov ecx, 0x491f20
call fcn.0046160f
mov eax, dword [eax]
push 0x48b47c
push eax
call fcn.0044bf3e
add esp, 8
lea ecx, [ebp - 0x48]
test eax, eax
sete byte [ebp + 0xb]
call fcn.00462898
mov al, byte [ebp + 0xb]
test al, al
je 0x4300d9
mov edx, dword [0x491f20]
mov ecx, 0x491f20
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0046168b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x41
call fcn.004629d1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x15
call fcn.00462898
jmp 0x4300e6
push 0x491f20
lea ecx, [ebp - 0x14]
call fcn.004629d1
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00461703
cmp eax, 0xffffffff
je 0x43012a
push eax
lea ecx, [ebp - 0x74]
push 0
push ecx
lea ecx, [ebp - 0x14]
call fcn.00461579
mov edx, dword [eax]
lea eax, [ebp - 0x28]
push edx
push 0x48ede8
push eax
mov byte [ebp - 4], 0x42
call fcn.00461a66
add esp, 0xc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
call fcn.00462898
jmp 0x43013f
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
push ecx
push 0x48ede8
push edx
call fcn.00461a66
add esp, 0xc
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
call fcn.00438f20
add esp, 4
test eax, eax
je 0x430c4b
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Update_Alarm_Time_Report_Log_File
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b3a2
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0046160f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x43
call fcn.004629d1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, dword [0x4c5c50]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x4302d8
mov edx, dword [0x4c5c50]
lea eax, [ebp - 0x14]
push edx
push 0x48c84c
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b392
test eax, eax
jne 0x4302d8
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b382
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x60]
push eax
call fcn.0046b392
test eax, eax
jne 0x4302d8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [0x4c5c50]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push 0x4c5c50
lea ecx, [ebp - 0x68]
push 0x48c818
push ecx
call fcn.00462ba1
push 0x48c818
lea edx, [ebp - 0x84]
push eax
push edx
mov byte [ebp - 4], 0x44
call fcn.00462b2d
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x45
call fcn.004629d1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x44
call fcn.00462898
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x60]
push eax
call fcn.0046b392
test eax, eax
jne 0x4302d8
call esi
mov ecx, dword [ebp - 0x30]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov ecx, dword [ebp - 0x28]
lea esi, [ebx + 0x68]
push ecx
push str._s.
push esi
call fcn.00461a66
mov esi, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
push esi
call fcn.00443ffa
push 0x3e8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x430c4b
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0xac]
call fcn.0044421a
mov edx, dword [ebp - 0xac]
push 0x10
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x5c], eax
call dword [edx + 0x38]
test eax, eax
jne 0x430c32
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xac]
push eax
call fcn.00444412
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x46
call fcn.004629d1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
push ecx
push edx
lea eax, [ebp - 0x1c]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x18]
push str.DG1__DS_DIR_HDR
push ecx
call fcn.0044bf3e
add esp, 0x18
test eax, eax
je 0x430c32
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, ecx
mov esi, 0x64
div esi
mov eax, ecx
mov esi, 0x2710
push edx
xor edx, edx
div esi
mov eax, 0x51eb851f
mul edx
shr edx, 5
mov eax, 0xd1b71759
push edx
mul ecx
shr edx, 0xd
push edx
lea edx, [ebp - 0x14]
push str.AlarmTimeReport__04d_02d_02d.csv
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ebp - 0x1c]
push eax
call fcn.00461725
cmp eax, 0xffffffff
je 0x430c32
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.004390b0
add esp, 4
test al, al
je 0x430425
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Check_File_is_Lock_Time_out_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x430c32
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0046168b
mov ecx, dword [0x491f4c]
mov edx, dword [0x4c5c20]
push ecx
mov ecx, dword [0x4c5c2c]
push edx
mov edx, dword [0x4c5c18]
push ecx
push edx
mov edx, dword [0x4c5c24]
push ecx
mov ecx, dword [0x4c5c28]
mov byte [ebp - 4], 0x47
push ecx
mov ecx, dword [0x4c5c40]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [ebp - 0x18]
push str._s__s__04d_02d_02d_02d_02d_02d__s.txt
push eax
call fcn.00461a66
add esp, 0x2c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x64]
push ecx
push edx
lea eax, [ebp - 0x38]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add esp, 0x10
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4304f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
push eax
push ecx
push str._Error__Copy__s_to__s_failed____OSLastError_d
push edx
call fcn.00461a66
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x430c32
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004629d1
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
call fcn.00439170
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x43055b
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Check_File_Size_not_Available_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
push ebx
call fcn.00439c60
add esp, 8
jmp 0x430c32
lea eax, [ebp - 0x54]
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0046160f
mov eax, dword [eax]
push 4
push str..Tmp
push eax
call fcn.0044c9de
add esp, 0xc
lea ecx, [ebp - 0x54]
test eax, eax
sete byte [ebp + 0xb]
call fcn.00462898
mov al, byte [ebp + 0xb]
test al, al
je 0x4305b1
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str.Check_File_is_Temp_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
jmp 0x430c32
mov eax, dword [ebp - 0x18]
push 0x2e
lea ecx, [ebp - 0x18]
mov esi, dword [eax - 8]
call fcn.00461703
push 0x491f08
lea ecx, [ebp - 0x14]
sub esi, eax
call fcn.00462a21
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
cmp eax, 0xffffffff
je 0x430673
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
cmp eax, 0xffffffff
je 0x430673
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
push eax
push 0x48da34
lea ecx, [ebp - 0x18]
call fcn.00461733
push str._LEN
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00461725
mov ecx, 0xfffffffc
sub ecx, eax
add edi, ecx
lea ecx, [ebp - 0x18]
push edi
push str._LEN
call fcn.00461725
add eax, 4
lea edx, [ebp - 0x7c]
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00461579
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x48
call fcn.004629d1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
push 0x491f08
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
jne 0x430737
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
push ecx
push str._LEN_d_
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.004629d1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
call fcn.0046133e
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4306f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4306f7
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str._20_Delete_Log_File_Fail_:
push ecx
call fcn.00462ba1
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00468354
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [edx - 8]
sub eax, esi
push eax
call fcn.0046133e
push 0
push ecx
lea eax, [ebp - 0x18]
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.Change_Upload_File_Name_:
push edx
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004629d1
mov eax, dword [ebp - 0x24]
mov edx, dword [edi]
push bind
push eax
mov ecx, edi
call dword [edx + 0x40]
test eax, eax
je 0x4307d5
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x44]
mov ecx, edi
call fcn.00444471
cmp dword [ebp - 0x3c], eax
jne 0x4307a3
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push str.File__s_is_Exist_in_FTP__
push ecx
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x430c32
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b35e
test eax, eax
jne 0x4307d5
push eax
push ecx
lea eax, [ebp - 0x18]
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.Cant_delete_remote_file_:
push edx
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
jmp 0x430c32
mov ecx, dword [0x48fb24]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0x49
mov esi, 1
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0046168b
mov ecx, dword [eax]
push esi
push ecx
lea edx, [ebp - 0x20]
push str._s.Tmp_d
push edx
mov byte [ebp - 4], 0x4a
call fcn.00461a66
add esp, 0x10
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x49
call fcn.00462898
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi]
push bind
push ecx
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x43083c
inc esi
cmp esi, 0xa
jl 0x4307e7
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x60]
push 1
push 2
push edx
push eax
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 1
test edi, edi
jne 0x430895
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 1
push 2
push ecx
mov ecx, dword [ebx + 0x60]
push edx
call fcn.0046b3e4
push 0x5dc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jbe 0x430862
test edi, edi
je 0x430a61
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
push bind
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x430a32
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
mov ecx, esi
call fcn.00444471
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
je 0x4308f6
push ecx
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
push str._Fail_Remote_Log_File__s_Size_not_correct__d_vs__d__
push ecx
call fcn.00461a66
add esp, 0x10
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x430c23
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebx + 0x60]
call fcn.0046b36e
test eax, eax
jne 0x43093d
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push edx
push eax
lea ecx, [ebp - 0x14]
push str._Fail_Remote_Log_File_Rename_Fail__s_vs__s__
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x430c23
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi]
push bind
push ecx
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
jne 0x430980
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str._Fail_Remote_Log_File__s_Cant_Found__
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x430c23
push 0
push ecx
lea ecx, [ebp - 0x24]
mov eax, esp
mov dword [ebp + 8], esp
push ecx
push str.Upload_File_Name_PASS_:
push eax
call fcn.00462ba1
mov ecx, ebx
call fcn.004089b0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push edx
push str.Send__s_ok.
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x4b
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x48bd8c
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x4d
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x49
call fcn.0040b2a0
mov eax, dword [ebp - 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x430c23
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push ecx
push str._Fail_Remote_Log_File__s_Cant_Found__
push edx
call fcn.00461a66
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
jmp 0x430c23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
mov esi, eax
push esi
push ecx
lea edx, [ebp - 0x14]
push str.Error__File__s_wasnt_sent____GetLastError_d
push edx
mov dword [ebp - 0x90], esi
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046260d
mov ecx, ebx
call fcn.00403ee0
push esi
lea ecx, [ebp - 0x14]
push 0x48bdc8
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x58], esp
push edx
mov byte [ebp - 4], 0x4e
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x4f
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x50
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x49
call fcn.0040b2a0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_
push edx
call fcn.00461a66
mov edi, dword [ebp - 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x1b0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 8], eax
lea edi, [ebp + ecx - 0x1b0]
mov dword [ebp - 0x88], edi
lea ecx, [ebp - 0x1b0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x430ba4
cmp eax, 3
jne 0x430b9d
cmp byte [edi], 0x5c
je 0x430b98
lea eax, [ebp - 0x1b0]
cmp edi, eax
je 0x430bc3
mov al, byte [edi - 1]
dec edi
cmp al, 0x5c
jne 0x430b86
mov byte [edi], 0
jmp 0x430bb7
cmp eax, 0xb7
jne 0x430bc3
cmp edi, dword [ebp - 0x88]
je 0x430bc3
mov byte [edi], 0x5c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x430baf
mov eax, dword [ebp + 8]
inc eax
cmp eax, 0xa
mov dword [ebp + 8], eax
jl 0x430b61
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push edx
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._sProcessDataLogSendFail_s_s
push edx
call fcn.00461a66
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x90]
cmp eax, 0x2ee2
je 0x430c3f
cmp eax, 0x2ee3
je 0x430c3f
cmp eax, 0x2f4f
je 0x430c3f
cmp eax, 0x2efe
je 0x430c3f
cmp eax, 0x2eff
je 0x430c3f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x430315
jmp 0x430c4b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00462898
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
push eax
push 0x48ecc0
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x58], esp
push edx
mov byte [ebp - 4], 0x51
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x52
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.LastUpdateDate
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x53
mov ecx, esp
mov dword [ebp - 0x88], esp
push str.UpdateData
call fcn.00462906
mov byte [ebp - 4], 0x15
call fcn.0040b2a0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x60]
inc edi
cmp edi, eax
mov dword [ebp - 0x34], edi
jbe 0x42ff9a
jmp 0x430d04
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Close_AP_Event...
jmp 0x430cf8
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_SeachNoSendFile_Event...
jmp 0x430cf8
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Get_LinkTest_Event...
call fcn.00462906
mov ecx, ebx
call fcn.00403ee0
mov eax, dword [0x491f50]
push eax
push 0
push str.Enable
push str.CloseAP
call esi
test eax, eax
jne 0x430e05
mov ecx, dword [0x491f50]
push ecx
push eax
push str.Enable
push str.SeachNoSendFile
call esi
test eax, eax
jne 0x430e05
mov edx, dword [0x491f50]
push edx
push eax
push str.Enable
push str.LinkTest
call esi
test eax, eax
je 0x430d71
mov eax, dword [0x491f50]
push eax
push 0
push str.Enable
push str.LinkTest
call esi
cmp eax, 4
jne 0x430e05
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x14]
push esi
push 0x48ecc0
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x58], esp
push edx
mov byte [ebp - 4], 0x54
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x55
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.LastUpdateDate
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x56
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.UpdateData
call fcn.00462906
mov byte [ebp - 4], 0x15
call fcn.0040b2a0
mov eax, dword [0x493bb0]
add esp, 0x10
test eax, eax
jne 0x430ded
mov dword [0x493b84], esi
jmp 0x430e05
cmp eax, 1
jne 0x430dfa
mov dword [0x493b98], esi
jmp 0x430e05
cmp eax, 2
jne 0x430e05
mov dword [0x493ba0], esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.00462898
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.00443fb0
test esi, esi
je 0x430e28
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00462898
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00462898
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.00462898
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00462898
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00462898
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00462898
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00462898
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00462898
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00462898
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00462898
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
call fcn.00443f74
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret