Function at 0x42c9c0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473a64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x48fb24]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
push 0x14
mov byte [ebp - 4], 1
mov dword [esi + 0x60], ebx
call fcn.00463d8c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
cmp edi, ebx
mov byte [ebp - 4], 2
je 0x42ca2d
call fcn.0046c38b
mov eax, dword [eax + 0x10]
push ebx
push ebx
push ebx
push ebx
push 1
push eax
mov ecx, edi
call fcn.0046afc4
jmp 0x42ca2f
xor eax, eax
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Connect_FTP
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 3
call fcn.00462906
mov ecx, esi
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 [esi + 0x5c]
push edx
push eax
call fcn.0046b0bf
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Connect_FTP_PASS
mov dword [esi + 0x60], eax
call fcn.00462906
mov ecx, esi
call fcn.004089b0
mov ecx, dword [0x4c5c60]
lea edx, [ebp - 0x1c]
push ecx
push str.Connect__s_Success__
push edx
call fcn.00461a66
add esp, 8
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
push str.connect_success__
lea ecx, [esi + 0x41c]
call fcn.004672ef
push ebx
mov ecx, esi
call fcn.004668c5
push 0x24
mov dword [ebp - 4], 1
call fcn.00463d8c
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42cb00
mov ecx, dword [esi + 0x60]
push 1
push ecx
mov ecx, eax
call fcn.0046b409
mov dword [ebp - 0x34], eax
jmp 0x42cb03
mov dword [ebp - 0x34], ebx
mov eax, dword [0x48fb24]
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x2c], eax
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Link_Test
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
mov edx, dword [0x491f50]
push edx
push ebx
push str.Enable
push str.CloseAP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x42cba7
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Close_AP_Event...
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x48bde0
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x14], esp
jmp 0x42d1cc
push str..TestLog_
lea ecx, [esi + 0x3e0]
call fcn.004672ef
mov eax, dword [esi + 0x70]
lea ecx, [esi + 0x68]
push eax
push str._s.
push ecx
call fcn.00461a66
add esp, 0xc
lea ecx, [ebp + 8]
push str.LinkTest.Tmp
call fcn.00462a21
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x64]
push edx
push eax
lea ecx, [ebp - 0x18]
push str._s_s
push ecx
call fcn.00461a66
mov edx, dword [ebp - 0x18]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48ece0
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Test
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.LinkTest
call fcn.00462906
mov byte [ebp - 4], 0xe
call fcn.0040b2a0
add esp, 0x10
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.0046260d
call fcn.00439170
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42ccdb
push ecx
lea ecx, [ebp - 0x18]
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
push str.Check_File_Size_not_Available_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48c640
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x20], esp
jmp 0x42d1cc
mov edx, dword [ebp + 8]
push 0x2e
lea ecx, [ebp + 8]
mov edi, dword [edx - 8]
call fcn.00461703
sub edi, eax
push ebx
lea eax, [ebp - 0x1c]
push str._LEN_d_
push eax
call fcn.00461a66
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004629d1
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [edx - 8]
sub eax, edi
push eax
call fcn.0046133e
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42cd55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42cd55
push ecx
lea ecx, [ebp - 0x18]
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
push str._20_Delete_Log_File_Fail_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.00403ee0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
push edx
push eax
call fcn.00468354
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx - 8]
lea ecx, [ebp + 8]
sub eax, edi
push eax
call fcn.0046133e
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
push bind
push edx
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
je 0x42ce00
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x60]
push eax
call fcn.0046b35e
test eax, eax
jne 0x42ce00
push eax
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
push str.Cant_delete_remote_file_:
push ecx
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48c640
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x20], esp
jmp 0x42d1cc
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
push 1
push 2
push eax
push ecx
mov ecx, dword [esi + 0x60]
call fcn.0046b3e4
mov edi, eax
test edi, edi
jne 0x42ce2c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, 0xa
mov dword [ebp - 0x20], eax
ja 0x42ce3c
test edi, edi
je 0x42ce07
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x42d0f0
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
push bind
push eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
test eax, eax
je 0x42d07f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x44]
mov ecx, edi
call fcn.00444471
cmp ebx, eax
je 0x42ceef
push ebx
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
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 - 0x1c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48c640
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x20], esp
jmp 0x42d1cc
push 0
push ecx
lea ecx, [ebp + 8]
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
push str.Upload_File_Name_PASS_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push edx
push str.Send__s_ok.
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x60]
push eax
call fcn.0046b35e
test eax, eax
jne 0x42cfab
push eax
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
push str.Cant_delete_remote_file_:
push ecx
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48c640
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x22
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x20], esp
jmp 0x42d1cc
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48ecd4
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x25
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.LinkTest
call fcn.00462906
mov byte [ebp - 4], 0xe
call fcn.0040b2a0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4c5c34
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48bd8c
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x29
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0xe
call fcn.0040b2a0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Link_Test_Pass
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
jmp 0x42d1e2
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push ecx
push str._Fail_Remote_Log_File__s_Cant_Found__
push edx
call fcn.00461a66
add esp, 8
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48c640
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x20], esp
jmp 0x42d1cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov edi, eax
push edi
push ecx
lea edx, [ebp - 0x1c]
push str.Error__File__s_wasnt_sent____GetLastError_d
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
push edi
lea ecx, [ebp - 0x1c]
push 0x48bdc8
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 0x2a
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x2c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0xe
call fcn.0040b2a0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x491f50
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x2d
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48c640
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x2e
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Enable
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x2f
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.LinkTest
call fcn.00462906
mov byte [ebp - 4], 0xe
call fcn.0040b2a0
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00462898
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.00462898
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00462898
mov esi, dword [ebp - 0x34]
mov ecx, esi
call fcn.00443fb0
test esi, esi
je 0x42d21d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00462898
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00462898
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