Function at 0x4778a0
Capabilities:
Accept command line arguments
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fb65
mov eax, dword fs:[0]
push eax
sub esp, 0x598
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x570], ecx
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x477905
xor eax, eax
jmp 0x47805f
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004ec1b0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov word [ebp - 0x42c], 0
push 0x206
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.004ec1b0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.004ec899
add esp, 8
push str..back
lea eax, [ebp - 0x42c]
push eax
call fcn.004ec86f
add esp, 8
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47799f
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x224], 1
jne 0x477fd9
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x53c]
call fcn.00401e30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x53c]
push ecx
lea ecx, [ebp - 0x514]
call fcn.0040c230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x53c]
call fcn.00401e70
lea ecx, [ebp - 0x448]
call fcn.00404400
mov byte [ebp - 4], 3
lea edx, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x514]
call fcn.0040c510
lea ecx, [ebp - 0x480]
call fcn.00404400
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.00404400
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00404400
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00404400
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x464]
push ecx
lea edx, [ebp - 0x49c]
push edx
lea eax, [ebp - 0x480]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x540], esp
push str.http:__d2.kuai8.com_update_qidong.php
call fcn.00401e30
mov dword [ebp - 0x574], eax
mov ecx, dword [ebp - 0x570]
call fcn.00478080
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 0
je 0x477f77
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x544], esp
lea edx, [ebp - 0x480]
push edx
call fcn.004032e0
mov dword [ebp - 0x57c], eax
mov eax, dword [ebp - 0x57c]
mov dword [ebp - 0x580], eax
mov byte [ebp - 4], 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x548], esp
lea edx, [ebp - 0x448]
push edx
call fcn.004032e0
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x570]
call fcn.00478540
mov dword [ebp - 0x588], eax
cmp dword [ebp - 0x588], 0
je 0x477f05
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477b22
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.004ece6a
add esp, 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54c], esp
lea edx, [ebp - 0x21c]
push edx
call fcn.00401e30
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp - 0x58c]
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x550], esp
lea edx, [ebp - 0x4b8]
push edx
call fcn.004032e0
mov dword [ebp - 0x594], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x570]
call fcn.00478770
mov dword [ebp - 0x598], eax
cmp dword [ebp - 0x598], 0
jne 0x477c4a
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477bc2
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.004ece6a
add esp, 8
mov dword [ebp - 0x554], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00401e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00401e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.00401e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x480]
call fcn.00401e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.0040c2d0
mov eax, dword [ebp - 0x554]
jmp 0x47805f
push 0
push 0
push 3
push 0
push 1
push 8
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x51c], eax
cmp dword [ebp - 0x51c], 0xffffffff
jne 0x477d1c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477c94
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.004ece6a
add esp, 8
mov dword [ebp - 0x558], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00401e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00401e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.00401e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x480]
call fcn.00401e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.0040c2d0
mov eax, dword [ebp - 0x558]
jmp 0x47805f
push 0
mov eax, dword [ebp - 0x51c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x51c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x464]
call fcn.004059a0
push eax
call fcn.004ece14
add esp, 4
cmp eax, dword [ebp - 0x518]
je 0x477e04
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477d7c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.004ece6a
add esp, 8
mov dword [ebp - 0x55c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00401e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00401e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.00401e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x480]
call fcn.00401e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.0040c2d0
mov eax, dword [ebp - 0x55c]
jmp 0x47805f
push 0x34
push str._T_vz
push str.Hr_g
mov ecx, dword [ebp - 0x570]
call fcn.004b7dbd
cmp eax, 6
jne 0x477e91
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x560], esp
lea eax, [ebp - 0x42c]
push eax
call fcn.00401e30
mov dword [ebp - 0x59c], eax
mov ecx, dword [ebp - 0x59c]
mov dword [ebp - 0x5a0], ecx
mov byte [ebp - 4], 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x564], esp
lea edx, [ebp - 0x21c]
push edx
call fcn.00401e30
mov dword [ebp - 0x5a4], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x570]
call fcn.00478820
push 0
push 0
push 0x12
mov ecx, dword [ebp - 0x570]
call fcn.00479b40
mov dword [ebp - 0x568], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00401e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00401e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.00401e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x480]
call fcn.00401e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.0040c2d0
mov eax, dword [ebp - 0x568]
jmp 0x47805f
mov dword [ebp - 0x56c], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00401e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00401e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.00401e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x480]
call fcn.00401e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.0040c2d0
mov eax, dword [ebp - 0x56c]
jmp 0x47805f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00401e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00401e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x49c]
call fcn.00401e70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x480]
call fcn.00401e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.0040c2d0
jmp 0x47805a
mov eax, dword [ebp - 0x220]
cmp dword [eax + 4], 0
jne 0x477fe9
xor eax, eax
jmp 0x47805f
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 4]
push edx
call fcn.004ece3a
add esp, 4
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x520], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x520]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x570]
add ecx, 0x338
call fcn.00401ea0
push 0
push 0xbb8
push 3
mov ecx, dword [ebp - 0x570]
call fcn.00479c20
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret