Function at 0x414920
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x463cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47dac0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [0x481cec]
push eax
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
xor ebp, ebp
cmp eax, ebp
je 0x41497b
push ebp
push 0x1388
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004268df
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414995
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
call fcn.004268df
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4149bf
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x54], eax
push 0x20
push ebp
push ecx
mov dword [esp + 0x6c], ebp
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ecx
mov ecx, 0x481ce4
call fcn.00402120
add esp, 8
lea ecx, [esp + 0x54]
call fcn.00409840
call fcn.004268df
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414a13
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push 0x20
lea ecx, [esp + 0x28]
push ecx
push ecx
mov byte [esp + 0x6c], 1
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.ExecFileName
call fcn.00401af0
lea ecx, [esp + 0x54]
call fcn.0040a310
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], ebp
je 0x414a72
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040ae50
add esp, 4
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.adshield.exe
call fcn.00401af0
call fcn.0040ae50
add esp, 4
lea esi, [esp + 0x28]
call fcn.004079a0
push 0x46babc
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x6c], 2
call fcn.00403590
add esp, 0xc
push 0x481ce4
push eax
lea eax, [esp + 0x24]
mov bl, 3
push eax
mov byte [esp + 0x6c], bl
call fcn.004034d0
add esp, 0xc
push str..lnk
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x6c], 4
call fcn.00403590
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.00407a90
push 0x46babc
push eax
lea ecx, [esp + 0x30]
mov bl, 5
push ecx
mov byte [esp + 0x6c], bl
call fcn.00403590
add esp, 8
mov edx, esp
mov byte [esp + 0x64], 6
mov dword [esp + 0x34], esp
push 0x481ce4
push eax
push edx
call fcn.004034d0
add esp, 0xc
call fcn.00403a00
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414bde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.004079f0
push 0x46babc
push eax
lea ecx, [esp + 0x30]
mov bl, 7
push ecx
mov byte [esp + 0x6c], bl
call fcn.00403590
add esp, 8
mov edx, esp
mov byte [esp + 0x64], 8
mov dword [esp + 0x34], esp
push 0x481ce4
push eax
push edx
call fcn.004034d0
add esp, 0xc
call fcn.00403a00
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004268df
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414caa
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x20
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov byte [esp + 0x6c], 9
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.InstallLocation
call fcn.00401af0
lea ecx, [esp + 0x54]
call fcn.0040a310
call fcn.004268df
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414cfa
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x20
lea ecx, [esp + 0x24]
push ecx
push ecx
mov byte [esp + 0x6c], 0xa
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.InstallLongDate
call fcn.00401af0
lea ecx, [esp + 0x54]
call fcn.0040a310
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401a80
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x30], edi
mov byte [esp + 0x60], 0xb
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], ebp
je 0x414de1
push 0x46babc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00403590
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x30]
mov bl, 0xc
push eax
mov byte [esp + 0x6c], bl
call fcn.004034d0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0xd
call fcn.00402c00
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414dbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414de1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebp
je 0x414e0a
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403a00
add esp, 4
call fcn.004268df
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x414e24
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x20
lea ecx, [esp + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.RunKeyName
mov byte [esp + 0x70], 0xe
call fcn.00401af0
lea ecx, [esp + 0x54]
call fcn.0040a310
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], ebp
jne 0x414e71
push 0x481ce4
lea ecx, [esp + 0x20]
call fcn.00402c00
push 0x20
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x46ccc8
call fcn.00401af0
lea ecx, [esp + 0x54]
call fcn.00409840
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040a5c0
mov byte [esp + 0x60], 0xf
mov eax, dword [esp + 0x3c]
xor ebx, ebx
cmp eax, ebp
jne 0x414eaf
xor ecx, ecx
jmp 0x414eb8
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
je 0x414fe2
cmp eax, ebp
mov edi, dword [0x481ce4]
je 0x414ed7
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x414ee0
call fcn.00448cb3
mov eax, dword [esp + 0x3c]
cmp edi, ebp
lea esi, [eax + ebx*4]
je 0x414f4d
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebp
jl 0x414f4d
push edi
push ecx
call fcn.00448cc3
add esp, 8
cmp eax, ebp
je 0x414f49
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x414f49
mov eax, dword [esp + 0x3c]
cmp eax, ebp
push 0x20
je 0x414f1c
mov ecx, dword [esp + 0x44]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x414f25
call fcn.00448cb3
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ebx*4]
push ecx
sub eax, 0x10
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x50]
call fcn.0040a530
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov edi, dword [0x481cf0]
je 0x414f64
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x414f6d
call fcn.00448cb3
mov eax, dword [esp + 0x3c]
cmp edi, ebp
lea esi, [eax + ebx*4]
je 0x414fda
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebp
jl 0x414fda
push edi
push ecx
call fcn.00448cc3
add esp, 8
cmp eax, ebp
je 0x414fd6
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x414fd6
mov eax, dword [esp + 0x3c]
cmp eax, ebp
push 0x20
je 0x414fa9
mov ecx, dword [esp + 0x44]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x414fb2
call fcn.00448cb3
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ebx*4]
push ecx
sub eax, 0x10
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x50]
call fcn.0040a530
mov eax, dword [esp + 0x3c]
add ebx, 1
jmp 0x414ea7
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x60], 0xe
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x415036
mov eax, dword [esp + 0x40]
cmp esi, eax
mov edi, eax
je 0x41502d
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415022
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x415004
mov esi, dword [esp + 0x3c]
push esi
call fcn.00426848
add esp, 4
mov byte [esp + 0x60], 0xb
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415067
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 0xa
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41508c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 9
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415123
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415143
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret