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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4745d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
mov eax, dword [0x48fb24]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], eax
xor edi, edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
push edi
mov ecx, 0x4c5c88
mov byte [ebp - 4], 6
call fcn.00461f8c
mov esi, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [esi + 0x94]
mov dword [0x4c5c84], edi
push eax
mov dword [ebp - 0x44], 1
call fcn.0046260d
call fcn.004387f0
push 0x14
mov bl, al
mov dword [esi + 0x60], edi
call fcn.00463d8c
mov edi, eax
add esp, 8
mov dword [ebp - 0x38], edi
test edi, edi
mov byte [ebp - 4], 7
je 0x437923
call fcn.0046c38b
mov eax, dword [eax + 0x10]
push 0
push 0
push 0
push 0
push 1
push eax
mov ecx, edi
call fcn.0046afc4
jmp 0x437925
xor eax, eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.Connect_FTP
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 8
call fcn.00462906
mov ecx, esi
call fcn.004089b0
mov ecx, dword [0x4c5c38]
mov edx, dword [0x4c5c58]
mov eax, dword [0x4c5c5c]
push ecx
mov ecx, dword [0x4c5c60]
push 0x15
push edx
push eax
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.0046b0bf
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.Connect_FTP_PASS
mov dword [esi + 0x60], eax
call fcn.00462906
mov ecx, esi
call fcn.004089b0
mov edx, dword [0x4c5c60]
lea eax, [ebp - 0x14]
push edx
push str.Connect__s_Success__
push eax
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x38], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
push str.connect_success__
lea ecx, [esi + 0x41c]
call fcn.004672ef
push 0
mov ecx, esi
call fcn.004668c5
push 0x24
mov dword [ebp - 4], 6
call fcn.00463d8c
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov byte [ebp - 4], 0x10
je 0x4379fa
mov ecx, dword [esi + 0x60]
push 1
push ecx
mov ecx, eax
call fcn.0046b409
mov dword [ebp - 0x40], eax
jmp 0x437a01
mov dword [ebp - 0x40], 0
test bl, bl
mov byte [ebp - 4], 6
je 0x438539
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Update_Flash_CP_Log_File
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
mov eax, dword [0x4c5c90]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x4c], ebx
jle 0x438539
mov eax, dword [ebp - 0x44]
inc eax
cmp eax, 0x2710
mov dword [ebp - 0x44], eax
jg 0x438539
mov edx, dword [0x491f50]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edx
push 0
push str.Enable
push str.CloseAP
call edi
cmp eax, 1
je 0x4384e2
mov eax, dword [0x491f50]
push eax
push 0
push str.Enable
push str.SeachNoSendFile
call edi
cmp eax, 1
je 0x4384fb
mov ecx, dword [0x491f50]
push ecx
push 0
push str.Enable
push str.LinkTest
call edi
cmp eax, 1
je 0x438514
push str..Flash_CP_
lea ecx, [esi + 0x3e0]
call fcn.004672ef
mov edx, dword [esi + 0x94]
lea eax, [esi + 0x68]
push edx
push str._s.
push eax
call fcn.00461a66
add esp, 0xc
lea ecx, [ebp - 0x50]
push ebx
push ecx
mov ecx, 0x4c5c88
call fcn.00407870
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.004629d1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00462898
push 0
push ecx
lea eax, [ebp - 0x1c]
mov edx, esp
mov dword [ebp - 0x24], esp
push eax
push str.Process_Flash_CP_Log_File_:
push edx
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00461703
mov edi, eax
lea ecx, [ebp - 0x5c]
inc edi
push edi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0046168b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.004629d1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00462898
lea ecx, [ebp - 0x14]
call fcn.00462d9a
lea edx, [esi + 0x70]
lea ecx, [ebp - 0x34]
push edx
call fcn.004629d1
lea ecx, [ebp - 0x34]
call fcn.00462d9a
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x64]
mov eax, dword [eax - 8]
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0046160f
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x13
call fcn.004629d1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00462898
mov edx, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x94]
mov eax, dword [edx - 8]
mov ecx, dword [ecx - 8]
mov edx, dword [ebp - 0x18]
sub eax, dword [edx - 8]
sub eax, ecx
push eax
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00461579
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.004629d1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.00462898
mov ecx, dword [ebp - 0x18]
push str.DG1__DS_DIR_HDR
push ecx
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x4384cc
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.0046260d
call fcn.004390b0
add esp, 4
test al, al
push ecx
je 0x437c29
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp - 0x24], esp
push ecx
push str.Check_File_is_Lock_Time_out_:
push eax
call fcn.00462ba1
jmp 0x4384c5
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.0046260d
call fcn.00439170
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x24], edi
jne 0x437c81
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp - 0x24], esp
push ecx
push str.Check_File_Size_not_Available_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.00403ee0
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.0046260d
push esi
call fcn.00439c60
add esp, 8
jmp 0x4384cc
lea eax, [ebp - 0x58]
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 - 0x58]
test eax, eax
sete bl
call fcn.00462898
test bl, bl
je 0x437ccc
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
push str.Check_File_is_Temp_:
push ecx
call fcn.00462ba1
jmp 0x4384c5
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.00461703
push 0x491f08
lea ecx, [ebp - 0x14]
call fcn.00462a21
push str._LEN
lea ecx, [ebp - 0x18]
call fcn.00461725
cmp eax, 0xffffffff
je 0x437d83
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 0x437d83
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 ebx, eax
call fcn.00461725
mov ecx, 0xfffffffc
sub ecx, eax
add ebx, ecx
lea ecx, [ebp - 0x18]
push ebx
push str._LEN
call fcn.00461725
add eax, 4
lea edx, [ebp - 0x68]
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00461579
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.004629d1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00462898
mov eax, dword [ebp - 0x14]
push 0x491f08
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x437dc9
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0044bf39
add esp, 4
cmp edi, eax
je 0x437dc9
mov edx, dword [ebp - 0x1c]
push edx
push eax
push edi
lea eax, [ebp - 0x14]
push str.Check_File_Size_is_not_match__d_vs__d:_s
push eax
call fcn.00461a66
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x24], esp
jmp 0x4384bc
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push eax
push str.Change_Directory__s...
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.004089b0
mov ecx, dword [esi + 0x60]
lea eax, [ebp - 0x3c]
push eax
call fcn.0046b3a2
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x60]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x3c]
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 - 0x60]
mov byte [ebp - 4], 6
call fcn.00462898
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0044bf3e
add esp, 8
test eax, eax
je 0x437fa2
mov edx, dword [ebp - 0x28]
push 0x491f08
push edx
call fcn.0044bf3e
add esp, 8
test eax, eax
jne 0x437e74
push str.Flash_CP
lea eax, [ebp - 0x14]
push 0x48c84c
push eax
call fcn.00461a66
add esp, 0xc
jmp 0x437e8e
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
push ecx
push str.Flash_CP
push str.__s__s
push edx
call fcn.00461a66
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x60]
push eax
call fcn.0046b392
test eax, eax
jne 0x437fa2
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [esi + 0x60]
call fcn.0046b382
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x60]
push edx
call fcn.0046b392
test eax, eax
jne 0x437fa2
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
mov eax, dword [ebp - 0x28]
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 - 0x30], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov eax, dword [ebp - 0x28]
push 0x491f08
push eax
call fcn.0044bf3e
add esp, 8
test eax, eax
jne 0x437f19
push str._Flash_CP_
lea ecx, [ebp - 0x34]
call fcn.00462a21
jmp 0x437f63
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x54]
push ecx
push str._Flash_CP_
push edx
call fcn.00462ba1
push 0x48c818
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x17
push eax
call fcn.00462b2d
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
call fcn.004629d1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
call fcn.00462898
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00462898
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [esi + 0x60]
call fcn.0046b392
test eax, eax
jne 0x437fa8
call edi
mov edx, dword [ebp - 0x34]
push eax
push edx
lea eax, [ebp - 0x14]
push str.SetCurrentDirectory_to__s_fail__GetLastError_d
push eax
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
jmp 0x437fa8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push eax
push str.Change_Directory__s_Pass
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.004089b0
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push bind
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
test eax, eax
je 0x438064
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x44]
mov ecx, ebx
call fcn.00444471
cmp dword [ebp - 0x24], eax
jne 0x4384a2
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push str.File__s_is_Exist_and_size_is_match_in_FTP__
push ecx
call fcn.00461a66
add esp, 8
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4384cc
call edi
cmp eax, 2
je 0x4384cc
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
push str._24_1_Delete_Log_File_Fail_:
push ecx
call fcn.00462ba1
jmp 0x4384c5
mov eax, dword [0x48fb24]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x19
mov edi, 1
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x18]
add eax, 0xfffffffc
push eax
push edx
call fcn.0046168b
mov eax, dword [eax]
push edi
push eax
lea ecx, [ebp + 8]
push str._s.Tmp_d
push ecx
mov byte [ebp - 4], 0x1a
call fcn.00461a66
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x19
call fcn.00462898
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
push bind
push eax
mov ecx, ebx
call dword [edx + 0x40]
test eax, eax
je 0x4380ca
inc edi
cmp edi, 0xa
jl 0x438075
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.Put_FTP_File__s_____s...
push eax
call fcn.00461a66
add esp, 0x10
lea edx, [ebp - 0x14]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.004089b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push 1
push 2
push eax
push ecx
mov ecx, dword [esi + 0x60]
call fcn.0046b3e4
mov edi, eax
test edi, edi
jne 0x438127
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x30]
inc eax
cmp eax, 3
mov dword [ebp - 0x30], eax
ja 0x438137
test edi, edi
je 0x4380d1
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x4383c6
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
push bind
push eax
mov ecx, ebx
call dword [edx + 0x40]
test eax, eax
je 0x4383a1
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x44]
mov ecx, ebx
call fcn.00444471
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4381a1
push ecx
push eax
mov eax, dword [ebp - 0x18]
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 - 0x2c], esp
push edx
call fcn.0046260d
jmp 0x438389
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [esi + 0x60]
call fcn.0046b36e
test eax, eax
jne 0x4381e1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
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 - 0x2c], esp
push edx
call fcn.0046260d
jmp 0x438389
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx]
push bind
push ecx
mov ecx, ebx
call dword [eax + 0x40]
test eax, eax
jne 0x43821d
mov edx, dword [ebp - 0x18]
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 - 0x2c], esp
push edx
call fcn.0046260d
jmp 0x438389
push 0
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp - 0x2c], esp
push ecx
push str.Upload_Flash_CP_Log_File_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
mov edx, dword [ebp - 0x18]
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 - 0x2c], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov eax, dword [0x4c5c14]
push eax
push 0
push str.Total
push str.Flash_CPLog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
inc eax
lea ecx, [ebp - 0x14]
push eax
push 0x48bdc8
push ecx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x4c5c14
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 0x1b
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Total
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Flash_CPLog
call fcn.00462906
mov byte [ebp - 4], 0x19
call fcn.0040b2a0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4c5c34
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x48bd8c
call fcn.00462906
mov byte [ebp - 4], 0x1f
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x19
call fcn.0040b2a0
add esp, 0x10
push 0
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp - 0x20], esp
push ecx
push str.Delete_Flash_CP_Log_File_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.004089b0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x438390
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x438390
push ecx
lea ecx, [ebp - 0x1c]
mov eax, esp
mov dword [ebp - 0x20], esp
push ecx
push str._24_1_Delete_Log_File_Fail_:
push eax
call fcn.00462ba1
mov ecx, esi
call fcn.00403ee0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00462898
jmp 0x4384cc
mov edx, dword [ebp - 0x18]
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 - 0x20], esp
push edx
call fcn.0046260d
jmp 0x438389
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x18]
push edi
push eax
lea ecx, [ebp - 0x14]
push str.Error__File__s_want_sent____GetLastError_d
push ecx
call fcn.00461a66
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
push edi
lea eax, [ebp - 0x14]
push 0x48bdc8
push eax
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4c5c34
call fcn.0046260d
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
mov byte [ebp - 4], 0x21
call fcn.0046260d
push ecx
mov byte [ebp - 4], 0x22
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Status
call fcn.00462906
push ecx
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.ClientStatus
call fcn.00462906
mov byte [ebp - 4], 0x19
call fcn.0040b2a0
add esp, 0x10
cmp edi, 0x2ee2
je 0x43852d
cmp edi, 0x2ee3
je 0x43852d
cmp edi, 0x2f4f
je 0x43852d
cmp edi, 0x2efe
je 0x43852d
cmp edi, 0x2eff
je 0x43852d
jmp 0x438390
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
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov ebx, dword [ebp - 0x4c]
mov eax, dword [0x4c5c90]
inc ebx
cmp ebx, eax
mov dword [ebp - 0x4c], ebx
jl 0x437a41
jmp 0x438539
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Close_AP_Event...
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
jmp 0x438539
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Get_SeachNoSendFile_Event...
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
jmp 0x438539
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Get_LinkTest_Event...
call fcn.00462906
mov ecx, esi
call fcn.00403ee0
jmp 0x438539
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00462898
mov esi, dword [ebp - 0x40]
mov ecx, esi
call fcn.00443fb0
test esi, esi
je 0x438550
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00462898
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00462898
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00462898
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00462898
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00462898
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00462898
lea ecx, [ebp - 0x48]
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