Function at 0x453760
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45c93b
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b5b0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
call fcn.00414a0e
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4537a3
push 0x80004005
call fcn.00402190
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], ebp
call fcn.00414a0e
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4537d1
push 0x80004005
call fcn.00402190
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x7c], 1
call fcn.00414a0e
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x453800
push 0x80004005
call fcn.00402190
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x7c], 2
mov esi, dword [esp + 0x84]
mov eax, dword [esi + 0x1084]
mov ecx, dword [eax - 0xc]
add esi, 0x1084
cmp ecx, 7
mov dword [esp + 0x20], ebp
jg 0x453839
or eax, 0xffffffff
jmp 0x453854
add eax, 0xe
push 0x2f
push eax
call fcn.00432dcb
add esp, 8
cmp eax, ebp
jne 0x453850
or eax, 0xffffffff
jmp 0x453854
sub eax, dword [esi]
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00402540
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 3
call fcn.00401940
mov byte [esp + 0x7c], 2
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45389f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46ab88
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.00403810
add esp, 0xc
mov byte [esp + 0x7c], 4
mov eax, dword [eax]
push 0x46ab60
push 0x50
lea edx, [esp + 0x34]
mov ecx, eax
call fcn.00406260
add esp, 8
test eax, eax
mov byte [esp + 0x7c], 2
mov eax, dword [esp + 0x84]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453902
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x453938
lea eax, [edi - 0x10]
mov byte [esp + 0x7c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453927
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x453b66
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x46abcc
push edx
call fcn.00401e30
add esp, 0x10
push ebp
push 0x46df44
lea ecx, [esp + 0x24]
call fcn.00401f90
lea eax, [esp + 0x3c]
push eax
push ebp
push 0x46abdc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4539a4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0x24]
push str._lu:_lu
push eax
call fcn.00401e30
add esp, 0x10
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push ebp
mov edx, edi
call fcn.00405ea0
add esp, 4
test eax, eax
je 0x453a2f
lea eax, [edi - 0x10]
mov byte [esp + 0x7c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4539dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x7c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4539fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453a25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x453ba9
lea esi, [esp + 0x3c]
call fcn.00403030
lea ecx, [esp + 0x18]
mov bl, 5
push ecx
mov byte [esp + 0x80], bl
xor esi, esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], esi
call fcn.00401940
push str.vdupdate_vpatchdownloader.exe.enc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x70], esi
call fcn.00403810
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 6
call fcn.00401940
mov byte [esp + 0x7c], bl
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x18
push 0x46ac4c
lea ecx, [esp + 0x48]
call fcn.00401f90
push str.update.game.zing.vn
lea ecx, [esp + 0x24]
push 0x50
push ecx
lea ebx, [esp + 0x48]
call fcn.00406920
add esp, 0xc
test eax, eax
je 0x453b29
push 0x46aca8
mov eax, 0x46acd4
call fcn.00405bd0
add esp, 4
test eax, eax
je 0x453b29
push 0x46ad08
mov edx, ebp
call fcn.00405df0
add esp, 4
push 0x46ad34
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, ebx
call fcn.004032e0
lea eax, [edi - 0x10]
mov byte [esp + 0x7c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4539d0
push str.vpatchdownloader.exe.enc
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x3c]
call fcn.004032e0
lea eax, [edi - 0x10]
mov byte [esp + 0x7c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7c], 0
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453b7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453ba7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4