Function at 0x421870
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560694
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5bbd60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov edi, 0xf
mov esi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x4c], eax
lea ebx, [ebp - 0x58]
mov dword [ebp - 4], eax
call fcn.00422c00
test eax, eax
jne 0x421908
mov eax, dword [ebp - 0x54]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x4218d2
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4218dc
push eax
call esi
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4218e6
push eax
call esi
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x4c], 0
jb 0x42216d
mov eax, dword [ebp - 0x48]
push eax
call fcn.00427ab5
add esp, 4
jmp 0x42216d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xac], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push 0x5c39d8
mov byte [ecx], bl
call fcn.00403ad0
push esi
call fcn.00421210
test al, al
je 0x422165
mov edx, dword [0x5ca5e0]
mov eax, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421950
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403690
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], ebx
jne 0x4219cf
push 0x590a5c
lea ecx, [esi + 0x360]
call fcn.0043180e
mov ecx, dword [esi + 0x380]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042d280
mov edx, dword [eax + 0x20]
push 0x105
push ebx
push ebx
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [ebp - 0x18], 0x10
jb 0x4219b2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00427ab5
add esp, 4
lea esi, [ebp - 0x58]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
call fcn.00422ba0
xor al, al
jmp 0x42216f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xac], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], 0
call fcn.00403ad0
push esi
call fcn.00421110
mov dword [ebp - 0x9c], eax
cmp eax, ebx
je 0x422149
cmp dword [esi + 0x358], ebx
je 0x422149
push 0x590209
lea ecx, [ebp - 0x94]
call fcn.00404c00
mov byte [ebp - 4], 2
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xb0], ebx
mov edi, edi
mov eax, dword [esi + 0x354]
mov ebx, dword [eax]
mov dword [ebp - 0xa0], ebx
cmp ebx, eax
je 0x421fb8
jmp 0x421a60
mov edi, dword [ebx + 0x1c]
mov edx, 0x10
cmp dword [ebx + 0x20], edx
jb 0x421a72
mov ecx, dword [ebx + 0xc]
jmp 0x421a75
lea ecx, [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jb 0x421a7e
mov eax, edi
cmp dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x2c]
jae 0x421a89
lea edx, [ebp - 0x2c]
call fcn.00401040
test eax, eax
jne 0x421aa9
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jae 0x421a9e
or eax, 0xffffffff
jmp 0x421aa7
xor ecx, ecx
cmp eax, edi
setne cl
mov eax, ecx
test eax, eax
sets al
test al, al
jne 0x421ace
lea eax, [ebp - 0xa0]
call fcn.00416660
mov ebx, dword [ebp - 0xa0]
cmp ebx, dword [esi + 0x354]
jne 0x421a60
jmp 0x421fb8
lea eax, [ebx + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 0xb4], eax
push 0
add eax, 0x1c
mov edi, 0xf
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
call fcn.00403ad0
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push 0
push 0x5c39bc
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
call fcn.00403ad0
mov byte [ebp - 4], 4
cmp dword [ebx + 0x3c], 0x10
mov ecx, dword [ebx + 0x38]
lea eax, [ebx + 0x28]
jb 0x421b35
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00403e80
mov eax, dword [ebp - 0xb0]
cdq
idiv dword [ebp - 0x9c]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xac], eax
nop
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa4]
push edx
push eax
lea ecx, [ebp - 0x94]
push 0x590a88
push ecx
call fcn.004079e0
mov edx, dword [ebp - 0x94]
add esp, 0x10
push edx
lea ecx, [esi + 0x360]
call fcn.0043180e
mov eax, dword [esi + 0x380]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042d280
mov ecx, dword [eax + 0x20]
push 0x105
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov edx, dword [ebp - 0xac]
mov eax, dword [esi + 0x20]
push edx
push 0
push 0xbdb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x74]
mov ebx, 0xf
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00403ad0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0xbc], esp
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x90]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403ad0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00422cc0
test eax, eax
je 0x421e08
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa4]
push edx
push eax
lea ecx, [ebp - 0x94]
push 0x590a98
push ecx
call fcn.004079e0
mov edx, dword [ebp - 0x94]
add esp, 0x10
push edx
lea ecx, [esi + 0x360]
call fcn.0043180e
mov eax, dword [esi + 0x380]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042d280
mov ecx, dword [eax + 0x20]
push 0x105
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov edx, dword [ebp - 0xb4]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0xffffffffffffffff
push 0
add edx, 0x38
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00403ad0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0xb8], esp
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x74]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403ad0
mov byte [ebp - 4], 4
call fcn.00421740
test al, al
je 0x421e08
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xa4]
push ecx
push edx
lea eax, [ebp - 0x94]
push 0x590aa8
push eax
call fcn.004079e0
mov ecx, dword [ebp - 0x94]
add esp, 0x10
push ecx
lea ecx, [esi + 0x360]
call fcn.0043180e
mov edx, dword [esi + 0x380]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042d280
mov eax, dword [eax + 0x20]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.00403ad0
cmp dword [ebp - 0xd4], 0x10
mov dword [ebp - 0xc8], 0x590a54
mov dword [ebp - 0xc4], 0x590a58
jb 0x421dbd
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xc0], edx
jmp 0x421dc9
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0xc8]
push ecx
push 3
call fcn.0054c570
add esp, 8
test eax, eax
sete byte [ebp - 0x95]
cmp dword [ebp - 0xd4], 0x10
jb 0x421dfb
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00427ab5
add esp, 4
cmp byte [ebp - 0x95], 0
jne 0x421f3b
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, 5
jl 0x421b60
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x9c]
inc eax
push eax
push ecx
lea edx, [ebp - 0x94]
push 0x590ab8
push edx
call fcn.004079e0
mov eax, dword [ebp - 0x94]
add esp, 0x10
push eax
lea ecx, [esi + 0x360]
call fcn.0043180e
mov ecx, dword [esi + 0x380]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042d280
mov edx, dword [eax + 0x20]
push 0x105
xor edi, edi
push edi
push edi
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov esi, 0x10
cmp dword [ebp - 0x7c], esi
jb 0x421e92
mov eax, dword [ebp - 0x90]
push eax
call fcn.00427ab5
add esp, 4
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], edi
mov byte [ebp - 0x90], 0
cmp dword [ebp - 0x60], esi
jb 0x421eb0
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00427ab5
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], edi
mov byte [ebp - 0x74], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421ee0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], esi
jb 0x421ef1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427ab5
add esp, 4
mov eax, dword [ebp - 0x54]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp eax, edi
je 0x421f0b
push eax
call esi
mov eax, dword [ebp - 0x50]
cmp eax, edi
je 0x421f15
push eax
call esi
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x421f1f
push eax
call esi
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x4c], edi
jb 0x421f34
mov edx, dword [ebp - 0x48]
push edx
call fcn.00427ab5
add esp, 4
xor al, al
jmp 0x42216f
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x74]
jae 0x421f47
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add dword [ebp - 0xb0], 0x64
mov eax, 1
add dword [ebp - 0xa8], eax
add dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xb4]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403ad0
mov edi, 0x10
cmp dword [ebp - 0x7c], edi
jb 0x421f92
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.00427ab5
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp dword [ebp - 0x60], edi
jb 0x421fb8
mov edx, dword [ebp - 0x74]
push edx
call fcn.00427ab5
add esp, 4
mov ecx, dword [esi + 0x354]
cmp byte [ecx + 0x61], 0
je 0x421fc9
mov ecx, dword [ecx + 8]
jmp 0x42200d
mov eax, dword [ecx]
cmp byte [eax + 0x61], 0
jne 0x421fed
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x61], 0
jne 0x42200d
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0x61], 0
je 0x421fe0
jmp 0x42200d
mov eax, dword [ecx + 4]
cmp byte [eax + 0x61], 0
jne 0x422005
cmp ecx, dword [eax]
jne 0x422005
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x61], 0
je 0x421ff6
cmp byte [ecx + 0x61], 0
jne 0x42200d
mov ecx, eax
cmp dword [ebp - 0x18], 0x10
lea edx, [ecx + 0xc]
mov ecx, dword [ebp - 0x2c]
jae 0x42201c
lea ecx, [ebp - 0x2c]
mov edi, dword [edx + 0x10]
mov ebx, dword [ebp - 0x1c]
mov eax, edi
cmp edi, ebx
jb 0x42202a
mov eax, ebx
cmp dword [edx + 0x14], 0x10
jb 0x422032
mov edx, dword [edx]
call fcn.00401040
test eax, eax
jne 0x42204d
cmp edi, ebx
jae 0x422044
or eax, 0xffffffff
jmp 0x42204b
xor eax, eax
cmp edi, ebx
setne al
test eax, eax
sete al
test al, al
je 0x421a40
mov eax, dword [esi + 0x20]
push 0x64
push 0x64
push 0xbdb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x9c]
push ecx
push edx
lea eax, [ebp - 0x94]
push 0x590ac8
push eax
call fcn.004079e0
mov ecx, dword [ebp - 0x94]
add esp, 0x10
push ecx
lea ecx, [esi + 0x360]
call fcn.0043180e
mov edx, dword [esi + 0x380]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0042d280
mov eax, dword [eax + 0x20]
push 0x105
xor edi, edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4220eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [ebp - 0x18], ebx
jb 0x422101
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427ab5
add esp, 4
mov eax, dword [ebp - 0x54]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp eax, edi
je 0x42211f
push eax
call esi
mov eax, dword [ebp - 0x50]
cmp eax, edi
je 0x422129
push eax
call esi
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x422133
push eax
call esi
mov dword [ebp - 0x4c], edi
cmp dword [ebp - 0x34], ebx
jb 0x42216d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00427ab5
add esp, 4
jmp 0x42216d
cmp dword [ebp - 0x18], 0x10
jb 0x42215b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00427ab5
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
lea esi, [ebp - 0x58]
call fcn.00422ba0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527d0f
mov esp, ebp
pop ebp
ret