Function at 0x45cc00
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b196e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov eax, dword [edi + 4]
push str.ProcessPatch
push eax
mov dword [ebp - 4], 1
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [ecx + 4]
test eax, eax
jne 0x45cc55
xor ebx, ebx
jmp 0x45cc5d
mov ebx, dword [ecx + 8]
sub ebx, eax
sar ebx, 3
mov ecx, dword [edi + 4]
push ebx
push str._PatchFile_Num___d
push ecx
mov dword [ebp - 0x48], ebx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0x10
test ebx, ebx
je 0x45d64d
call fcn.0043e0f0
push ecx
lea edx, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x38], esp
push edx
call fcn.004a688e
push 0x4eef90
push 0x4eef8c
mov ecx, edi
call fcn.0045d680
test eax, eax
mov dword [ebp - 0x4c], eax
jne 0x45ccc7
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
push eax
push str.ConnectFtp_Faile_:__s_Try_Http_Go.
push ecx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0x10
mov eax, dword [edi + 0xc]
test eax, eax
je 0x45cd2c
push ecx
lea esi, [edi + 0x10]
mov ecx, esp
mov dword [ebp - 0x38], esp
push esi
call fcn.004a688e
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push esi
call fcn.004a688e
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 3
call fcn.004a688e
push ecx
lea edx, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x44], esp
push edx
mov byte [ebp - 4], 4
call fcn.004a688e
push 0x4eef90
push 0x4eef8c
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0045d7f0
mov eax, dword [0x4d8cb8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], ebx
jge 0x45d613
mov ecx, edi
call fcn.0045c570
test eax, eax
je 0x45cd6f
mov ecx, dword [edi + 4]
push str._bExit_True_ProcessPatch_End_
push ecx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
jmp 0x45d050
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
lea esi, [eax + ecx*8]
lea ecx, [ebp - 0x1c]
push esi
call fcn.004a688e
mov edx, dword [esi + 4]
mov dword [ebp - 0x18], edx
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 6
call fcn.004a688e
mov byte [ebp - 4], 6
call fcn.00405180
mov ecx, eax
call fcn.00405840
test eax, eax
je 0x45cded
mov ecx, dword [ebp - 0x1c]
mov edx, dword [edi + 4]
push ecx
push str.Find_Guard_Fild_:__s_.._Read_Only_Close
push edx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004a688e
mov byte [ebp - 4], 6
call fcn.00405180
mov ecx, eax
call fcn.004056c0
mov ecx, dword [ebp - 0x30]
lea edi, [ecx + 1]
call fcn.0040c220
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x45ce6f
mov dword [eax + 0x2a8], 0
mov dword [eax + 0x2ac], ebx
mov eax, dword [esi + 4]
push 1
add eax, 0x228
push 0
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x44], edi
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x4d8cb8]
mov dword [ebp - 0x40], eax
push ebx
push edi
lea ecx, [ebp - 0x40]
push str.Total__d____d
push ecx
mov byte [ebp - 4], 9
call fcn.004a1aae
mov edx, dword [ebp - 0x40]
mov ecx, dword [esi + 4]
add esp, 0x10
add ecx, 0x130
push edx
call fcn.004a612d
mov ecx, dword [esi + 4]
call fcn.004184f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004a6b19
mov eax, dword [0x4d4b20]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004a6b87
lea ecx, [ebp - 0x68]
push ecx
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00414f10
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004a6b87
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x78], esp
push edx
mov byte [ebp - 4], 0xb
call fcn.004a688e
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push edx
mov byte [ebp - 4], 0xc
call fcn.004a688e
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x7c], esp
push eax
mov byte [ebp - 4], 0xd
call fcn.004a688e
push ecx
lea edx, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
mov byte [ebp - 4], 0xe
call fcn.004a688e
mov esi, dword [ebp - 0x20]
push 0x4eef90
push 0x4eef8c
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004616d0
test eax, eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
sete bl
call fcn.004a6b19
test bl, bl
je 0x45cf35
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 4]
push eax
push str.Failed_downloadfile_:__s
push ecx
jmp 0x45d036
mov edx, dword [0x4d4b20]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
call fcn.004a6b87
lea eax, [ebp - 0x60]
push eax
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00414f10
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.004911a3
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
cmp eax, 0xffffffff
jne 0x45cf91
cmp esi, 2
je 0x45cfb6
push 0x14
inc esi
call edi
push 0
push ebx
call fcn.004911a3
add esp, 8
cmp eax, 0xffffffff
je 0x45cf77
mov eax, 1
test eax, eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
sete bl
call fcn.004a6b19
mov ecx, dword [ebp - 0x1c]
test bl, bl
push ecx
je 0x45cfba
push str.Check_Download_File_Faile_:__s
jmp 0x45d02f
xor eax, eax
jmp 0x45cf96
mov edx, dword [ebp - 0x20]
push str.Success_downloadfile_:__s
mov eax, dword [edx + 4]
push eax
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov ebx, dword [ebp - 0x1c]
xor esi, esi
push esi
push ebx
call fcn.004911a3
add esp, 0x18
cmp eax, 0xffffffff
jne 0x45d003
cmp esi, 2
je 0x45d08c
push 0x14
inc esi
call edi
push 0
push ebx
call fcn.004911a3
add esp, 8
cmp eax, 0xffffffff
je 0x45cfe5
mov esi, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call ebx
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call edi
test eax, eax
jne 0x45d098
mov ecx, dword [ebp - 0x1c]
push ecx
push str.Faile_Old_File_Delete_:__s
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004a6b19
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004a6b19
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.004a6b19
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004a6b19
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
push 0
push 0
push 0
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Extract...
call fcn.004a6b87
mov byte [ebp - 4], 0x11
call fcn.0040c220
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00460b50
lea ecx, [ebp - 0x234]
call fcn.00473460
mov edx, dword [0x4d4b20]
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
mov byte [ebp - 4], 0x12
call fcn.004a6b87
lea eax, [ebp - 0x64]
push eax
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00414f10
push eax
lea ecx, [ebp - 0x234]
call fcn.004737d0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.004a6b19
call fcn.0044f8c0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
push str.Zip_Opening..._:__s
mov ecx, dword [edx + 4]
push ecx
push eax
call fcn.0044fb50
add esp, 0x10
lea edx, [ebp - 0x5c]
push edx
call fcn.0044f820
add esp, 4
mov eax, dword [eax]
push 0x10000
push 0
push 1
push eax
push 0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x14
call fcn.004747e0
test al, al
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
sete byte [ebp - 0x11]
call fcn.004a6b19
mov al, byte [ebp - 0x11]
push 0
test al, al
push 0
lea ecx, [ebp - 0x234]
je 0x45d23b
call fcn.00473f00
mov eax, dword [0x4d4b20]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.004a6b87
lea ecx, [ebp + 8]
push ecx
call fcn.00411130
mov esi, dword [eax]
add esp, 8
push esi
call ebx
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call edi
lea ecx, [ebp + 8]
call fcn.004a6b19
call fcn.0044f8c0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push edx
push str.Failed_Extract_:__s
mov edx, dword [ecx + 4]
push edx
push eax
call fcn.0044fb50
add esp, 0x10
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x10
call fcn.004736c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004a6b19
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004a6b19
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.004a6b19
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004a6b19
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00473f00
mov eax, dword [0x4d4b20]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004a6b87
lea ecx, [ebp - 0x44]
push ecx
call fcn.00411130
mov esi, dword [eax]
add esp, 8
push esi
call ebx
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call edi
lea ecx, [ebp - 0x44]
call fcn.004a6b19
call fcn.0044f8c0
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push edx
push str.Success_Extract_:__s
mov ecx, dword [edi + 4]
push ecx
push eax
call fcn.0044fb50
add esp, 0x10
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push edx
call fcn.004a688e
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x15
call fcn.004a701b
lea esi, [edi + 0x40]
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.0045f360
mov ecx, dword [esi + 4]
mov dword [ebp - 0x2c], eax
cmp eax, ecx
je 0x45d2de
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.00490fca
add esp, 8
test eax, eax
jl 0x45d2de
lea eax, [ebp - 0x2c]
jmp 0x45d2e7
mov esi, dword [esi + 4]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov eax, dword [eax]
mov ecx, dword [edi + 0x44]
cmp eax, ecx
je 0x45d306
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x14]
cmp edx, ecx
je 0x45d430
mov dword [eax + 0x14], ecx
jmp 0x45d430
call fcn.0044f8c0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
push edx
push str.Not_Find_LocalCrcFileInfo_:__s_New_File_Local_Added
push ecx
push eax
call fcn.0044fb50
add esp, 0x10
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x74]
push edx
call fcn.004a688e
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x16
call fcn.004a688e
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x20]
lea ebx, [ebp - 0x74]
mov byte [ebp - 4], 0x17
mov edi, dword [edx + 0x44]
lea eax, [edx + 0x40]
mov al, 1
mov esi, dword [edi + 4]
cmp esi, dword [0x4eef9c]
je 0x45d383
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
push eax
push ecx
mov edi, esi
call fcn.00490fca
add esp, 8
test eax, eax
setl al
test al, al
je 0x45d37e
mov esi, dword [esi]
jmp 0x45d358
mov esi, dword [esi + 8]
jmp 0x45d358
mov ecx, dword [ebp - 0x20]
add ecx, 0x40
mov dl, byte [ecx + 8]
test dl, dl
je 0x45d39b
push ebx
push edi
push esi
lea edx, [ebp - 0x8c]
jmp 0x45d3af
test al, al
mov dword [ebp - 0x3c], edi
je 0x45d3ce
mov eax, dword [ecx + 4]
cmp edi, dword [eax]
jne 0x45d3c6
push ebx
push edi
push esi
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x20]
push edx
lea ecx, [eax + 0x40]
call fcn.0045ee00
mov ecx, dword [eax]
mov byte [ebp - 0x50], 1
mov dword [ebp - 0x54], ecx
jmp 0x45d418
lea ecx, [ebp - 0x3c]
call fcn.0045f4b0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx]
push eax
mov ecx, dword [edx + 0xc]
push ecx
call fcn.00490fca
add esp, 8
test eax, eax
jge 0x45d404
mov ecx, dword [ebp - 0x20]
push ebx
push edi
lea eax, [ebp - 0x90]
push esi
push eax
add ecx, 0x40
mov byte [ebp - 0x11], 1
call fcn.0045ee00
lea edx, [ebp - 0x11]
push edx
push eax
jmp 0x45d410
lea eax, [ebp - 0x11]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 0x11], 0
push ecx
lea ecx, [ebp - 0x54]
call fcn.0045e850
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.004a6b19
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
call fcn.004a6b19
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
call fcn.004a688e
mov byte [ebp - 4], 0x19
call fcn.00405180
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00405840
test eax, eax
je 0x45d509
call fcn.0044f8c0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push ecx
push str.Find_GuardFile_:__s_.._Read_Only
mov ecx, dword [edx + 4]
push ecx
push eax
call fcn.0044fb50
add esp, 0x10
lea edx, [ebp - 0x1c]
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push edx
call fcn.004a688e
mov byte [ebp - 4], 0x1a
call fcn.00405180
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.004056c0
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004a688e
mov byte [ebp - 4], 0x1b
call fcn.00405180
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00405ab0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x12
call fcn.004a6b19
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x10
call fcn.004736c0
push 1
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004a6b19
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x30], eax
jmp 0x45cd3f
lea ecx, [ebp - 0x1c]
call fcn.004a701b
mov edi, dword [ebp - 0x20]
mov ebx, dword [edi + 0x30]
cmp ebx, dword [edi + 0x34]
je 0x45d4c1
push ebx
lea ecx, [ebp - 0x38]
call fcn.004a688e
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
call fcn.004a6c52
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x15
call fcn.004a6b19
lea ecx, [ebp - 0x24]
call fcn.004a701b
push 0x104
lea ecx, [ebp - 0x24]
call fcn.004a6f49
push 0x104
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004a6f49
push esi
push eax
call fcn.00491cc0
add esp, 8
test eax, eax
je 0x45d5b0
call fcn.0044f8c0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [edi + 4]
push ecx
push str.Find_Del_GuardFile_Add_:__s_.._Read_Only
push edx
push eax
call fcn.0044fb50
add esp, 0x10
lea eax, [ebp - 0x1c]
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004a688e
mov byte [ebp - 4], 0x1d
call fcn.00405180
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.004051d0
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.004a6f98
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.004a6f98
add ebx, 4
jmp 0x45d517
mov edx, dword [0x4eef90]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [0x4eef8c]
push eax
call esi
mov ecx, dword [edi + 4]
push str.ProcessPatch_Ok
push ecx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004a6b19
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.004a6b19
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004a6b19
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc