Function at 0x429d70
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3a51
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x66c488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x178], esi
call fcn.0046d771
mov ecx, eax
test ecx, ecx
jne 0x429dba
push 0x80004005
call fcn.0040aa40
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x184], edi
mov ecx, dword [esi + 0x234]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x168], xmm0
movlpd qword [ebp - 0x160], xmm0
movlpd qword [ebp - 0x158], xmm0
cmp ecx, dword [esi + 0x22c]
je 0x42a0b2
mov eax, dword [ecx + 8]
mov dword [ebp - 0x16c], eax
push dword [eax + 8]
lea eax, [ebp - 0x170]
push str._DownloadPatchFiles_
push eax
call fcn.004094f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 1
call fcn.0040a040
mov edx, dword [ebp - 0x170]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429e50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x184]
lea eax, [ebp - 0x168]
push 0
push eax
push edi
call fcn.0047dabf
test eax, eax
jne 0x429ef5
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
push str.failed_get_status_:__s
push 0x674ec4
call fcn.00414540
mov ecx, dword [esi + 0x244]
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x16c]
add esp, 0xc
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], 0
push edx
push dword [ecx + 4]
push ecx
lea ecx, [esi + 0x244]
call fcn.0040f740
mov ecx, 0xffffffe
mov edx, eax
sub ecx, dword [esi + 0x248]
cmp ecx, 1
jae 0x429edc
push str.list_T__too_long
call fcn.005b1ea0
mov eax, dword [ebp - 0x170]
inc dword [esi + 0x248]
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
jmp 0x42a08f
lea eax, [esi + 0x3b4]
xorps xmm0, xmm0
push eax
lea eax, [esi + 0x3b0]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
movups xmmword [ebp - 0x38], xmm0
call fcn.0040b710
add esp, 0x10
test eax, eax
je 0x429f2e
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
push str.failed_genarate_md5_:__s
jmp 0x42a05a
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x170], 0xc
lea edx, [ecx + 0x1c]
nop word [eax + eax]
mov edi, dword [ebp - 0x17c]
mov eax, dword [edx]
cmp eax, dword [edi]
mov edi, dword [ebp - 0x184]
jne 0x42a0a8
add dword [ebp - 0x17c], 4
add edx, 4
sub dword [ebp - 0x170], 4
jae 0x429f50
push dword [ecx + 4]
call fcn.00469990
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x16c]
jne 0x429f9b
push dword [eax + 8]
push str.failed_create_dir_:__s
jmp 0x42a05a
push 1
push dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x429fbe
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
push str.failed_replace_file_:__s
jmp 0x42a05a
cmp dword [esi + 0x3d0], 0
je 0x429fe1
mov edx, dword [ebp - 0x16c]
push 0
lea ecx, [edx + 0x34]
push ecx
lea eax, [edx + 0x2c]
push eax
push dword [edx + 8]
call fcn.00409ae0
jmp 0x42a044
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebp - 0x16c]
xorps xmm0, xmm0
add eax, 0x2c
movq qword [ebp - 0x180], xmm0
push eax
movq qword [ebp - 0x174], xmm0
call esi
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x16c]
add eax, 0x34
push eax
call esi
push 0
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
call fcn.00409ae0
mov esi, dword [ebp - 0x178]
add esp, 0x10
cmp eax, 1
je 0x42a08f
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
push str.failed_set_filetime_:__s
push 0x674ec4
call fcn.00414540
mov eax, dword [ebp - 0x16c]
lea ecx, [esi + 0x244]
add esp, 0xc
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x170], 0
push eax
call fcn.0040f6f0
inc dword [esi + 0x3a4]
mov eax, dword [esi + 0x234]
mov eax, dword [eax]
mov dword [esi + 0x234], eax
jmp 0x42a3e0
push dword [ecx + 8]
push str.failed_compare_md5_:__s
jmp 0x42a05a
mov eax, dword [esi + 0x240]
cmp eax, dword [esi + 0x238]
je 0x42a182
mov ecx, dword [str.HShield_]
mov eax, dword [eax + 8]
mov dword [ebp - 0x16c], eax
test ecx, ecx
je 0x42a108
mov edx, dword [eax + 8]
cmp dword [edx - 0xc], 0
jl 0x42a108
push ecx
push edx
call fcn.005c1cdc
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x16c]
test ecx, ecx
je 0x42a108
sub ecx, dword [eax + 8]
cmp ecx, 0xffffffff
je 0x42a108
push dword [eax + 8]
push str._skip_delete_HackShield_File_:__s
jmp 0x42a15c
push 0
lea ecx, [ebp - 0x168]
push ecx
push dword [eax + 8]
call fcn.0047dabf
test eax, eax
mov eax, dword [ebp - 0x16c]
jne 0x42a12d
push dword [eax + 8]
push str.failed_get_status2_:__s
jmp 0x42a15c
push eax
call fcn.00429350
add esp, 4
cmp eax, 1
je 0x42a169
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42a169
mov eax, dword [ebp - 0x16c]
push dword [eax + 8]
push str.failed_delete_file_:__s
push 0x674ec4
call fcn.00414540
add esp, 0xc
inc dword [esi + 0x3a4]
mov eax, dword [esi + 0x240]
mov eax, dword [eax]
mov dword [esi + 0x240], eax
jmp 0x42a3e0
push 1
push str._DownloadPatchFiles_
call fcn.00469df0
add esp, 8
cmp dword [esi + 0x248], 0
jne 0x42a1fa
cmp dword [esi + 0x35c], 0
jne 0x42a1fa
push 0
push str.UserFileList.dat
push str.FileList.dat
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42a1d2
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8200000a
mov ecx, esi
call fcn.0042d010
jmp 0x42a3e0
push str.FileList.dat
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42a1fa
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8200000b
mov ecx, esi
call fcn.0042d010
jmp 0x42a3e0
lea ecx, [esi + 0x22c]
call fcn.0040e900
lea ecx, [esi + 0x238]
call fcn.0040e900
cmp dword [esi + 0x248], 0
jne 0x42a275
push dword [esi + 0x260]
mov dword [esi + 0x3d8], 0
mov dword [esi + 0x24c], 0
call fcn.0042d340
push dword [eax]
push str.success_:__s
push 0x674ec4
call fcn.00414540
add esp, 0x10
mov ecx, esi
push 0xb
call fcn.0042d1d0
mov eax, dword [esi + 0x3c4]
test eax, eax
je 0x42a3e0
push dword [esi + 0x3c8]
push 0
call eax
add esp, 8
jmp 0x42a3e0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push dword [0x66a2ec]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00411640
mov ecx, dword [0x674e18]
lea eax, [ebp - 0x28]
push 0x601758
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.004127f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00410030
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [esi + 0x24c]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005c1cb2
mov edx, dword [ebp - 0x178]
lea ecx, [esi + 1]
add esp, 4
mov dword [edx + 0x24c], ecx
cmp esi, eax
jb 0x42a38f
lea ecx, [ebp - 0x17c]
call fcn.0040a2b0
mov eax, dword [ebp - 0x178]
mov byte [ebp - 4], 4
mov esi, dword [eax + 0x244]
mov esi, dword [esi]
cmp esi, dword [eax + 0x244]
je 0x42a35c
mov edi, eax
nop dword [eax]
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x17c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409f40
push 2
push 0x601bac
lea ecx, [ebp - 0x17c]
call fcn.00409f40
mov esi, dword [esi]
cmp esi, dword [edi + 0x244]
jne 0x42a320
mov edi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x178]
mov esi, dword [ebp - 0x17c]
mov ecx, eax
push esi
push 0
push 0x82000027
call fcn.0042d010
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a3b9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42a3b9
push str.Download_of_the_file_may_be_corrupted._Try_again
push 0x674ec4
call fcn.00414540
mov ecx, dword [ebp - 0x178]
add esp, 8
call fcn.00428120
mov ecx, dword [ebp - 0x178]
push 8
call fcn.0042d1d0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42a3ce
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ecd0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42a3ff
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b07f1
mov esp, ebp
pop ebp
ret