Function at 0x4c23c0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ceed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [0x62e65c]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 0x10], esp
jge 0x4c2439
mov ebx, dword [sym.imp.kernel32.dll_LoadLibraryA]
push str.urlmon.dll
xor esi, esi
call ebx
mov edi, eax
test edi, edi
je 0x4c2419
push str.wininet.dll
call ebx
mov esi, eax
mov dword [0x62e65c], 1
test esi, esi
jne 0x4c2423
mov dword [0x62e65c], 0
test edi, edi
je 0x4c242e
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
test esi, esi
je 0x4c2439
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [0x62e65c]
xor edi, edi
cmp eax, edi
je 0x4c2910
lea eax, [ebp - 0x1c]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
call dword [0x63df50]
test eax, eax
jne 0x4c2460
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x1c]
push ecx
push str.dwIFlags__0x_X
call fcn.00436520
mov al, byte [ebp - 0x1c]
add esp, 8
test al, 2
jne 0x4c2484
test al, 1
je 0x4c2484
test al, 0x20
jne 0x4c2910
mov edx, dword [0x63094c]
mov dword [ebp - 0x18], edx
push 0x6978
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005985fc
mov eax, dword [ebp - 0x18]
mov esi, 0x62e438
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4c24ce
test cl, cl
je 0x4c24ca
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4c24ce
add eax, 2
add esi, 2
test cl, cl
jne 0x4c24a6
xor eax, eax
jmp 0x4c24d3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4c24e4
push 0x63df70
lea ecx, [ebp - 0x18]
call fcn.005981bb
mov ecx, dword [0x640974]
lea eax, [ebp - 0x18]
add ecx, 0x8c
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.00598261
push str..txt
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.005982c7
mov eax, dword [eax]
push edi
push 0x10
lea ecx, [ebp - 0x230]
push 0x104
push ecx
push eax
push edi
call fcn.005055ac
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00598032
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00598032
cmp esi, edi
jne 0x4c2904
push edi
call fcn.004f68de
lea edx, [ebp - 0x230]
push 0x61d6e4
push edx
mov dword [0x64096c], eax
mov dword [0x640968], eax
call fcn.004f600d
mov ebx, eax
add esp, 0xc
cmp ebx, edi
mov dword [ebp - 0x28], ebx
je 0x4c28ad
push ebx
lea eax, [ebp - 0x12c]
push 0xff
push eax
call fcn.004f6a2a
add esp, 0xc
test eax, eax
je 0x4c28a2
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004ba000
add esp, 4
lea edx, [ebp - 0x12c]
push str.Version:
push edx
call fcn.004f6130
lea ecx, [ebp - 0x12c]
add esp, 8
cmp eax, ecx
jne 0x4c25f1
mov eax, dword [0x640974]
lea edx, [eax + 0xb4]
lea ecx, [eax + 0xb0]
push edx
add eax, 0xac
push ecx
push eax
lea edx, [ebp - 0x123]
push str._lu__lu__lu
push edx
call fcn.004f69f6
add esp, 0x14
jmp 0x4c2578
lea eax, [ebp - 0x12c]
push str.AdEngine:
push eax
call fcn.004f6130
lea ecx, [ebp - 0x12c]
add esp, 8
cmp eax, ecx
jne 0x4c262b
mov eax, dword [0x640974]
lea edx, [ebp - 0x122]
push edx
lea ecx, [eax + 0xd4]
call fcn.005981bb
jmp 0x4c2578
lea ecx, [ebp - 0x12c]
push str.NewVerMsg:
push ecx
call fcn.004f6130
lea edx, [ebp - 0x12c]
add esp, 8
cmp eax, edx
jne 0x4c2666
mov ecx, dword [0x640974]
lea eax, [ebp - 0x121]
push eax
add ecx, 0xc4
call fcn.005981bb
jmp 0x4c2578
lea edx, [ebp - 0x12c]
push str.NewVerURL:
push edx
call fcn.004f6130
lea ecx, [ebp - 0x12c]
add esp, 8
cmp eax, ecx
jne 0x4c26a0
mov eax, dword [0x640974]
lea edx, [ebp - 0x121]
push edx
lea ecx, [eax + 0xc8]
call fcn.005981bb
jmp 0x4c2578
lea ecx, [ebp - 0x12c]
push str.Message:
push ecx
call fcn.004f6130
lea edx, [ebp - 0x12c]
add esp, 8
cmp eax, edx
jne 0x4c26db
mov ecx, dword [0x640974]
lea eax, [ebp - 0x123]
push eax
add ecx, 0xcc
call fcn.005981bb
jmp 0x4c2578
lea edx, [ebp - 0x12c]
push str.MessageURL:
push edx
call fcn.004f6130
lea ecx, [ebp - 0x12c]
add esp, 8
cmp eax, ecx
jne 0x4c2715
mov eax, dword [0x640974]
lea edx, [ebp - 0x120]
push edx
lea ecx, [eax + 0xd0]
call fcn.005981bb
jmp 0x4c2578
lea ecx, [ebp - 0x12c]
push str.cr:
push ecx
call fcn.004f6130
lea edx, [ebp - 0x12c]
add esp, 8
cmp eax, edx
jne 0x4c2578
mov eax, dword [0x640974]
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x4c2578
mov ecx, dword [eax + 0xec]
test ecx, ecx
jne 0x4c2578
mov eax, dword [eax + 0xdc]
push 0x62e294
push eax
call fcn.004f6130
add esp, 8
add eax, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.005980a0
lea ecx, [ebp - 0x14]
push 0x61ed90
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0058f695
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00598032
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x128]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea eax, [ebp - 0x12c]
push edx
push eax
call fcn.004f5580
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea esi, [ebp - 0x12c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c27eb
test cl, cl
je 0x4c27e7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c27eb
add eax, 2
add esi, 2
test cl, cl
jne 0x4c27c7
xor eax, eax
jmp 0x4c27f0
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ecx
jne 0x4c28f3
lea eax, [ebp - 0x14]
mov dword [0x64096c], ecx
mov dword [0x640968], ecx
push eax
lea ecx, [ebp - 0x2c]
push 0x61f18c
push ecx
call fcn.0059833b
push 0x61ed90
lea edx, [ebp - 0x24]
mov bl, 6
push eax
push edx
mov byte [ebp - 4], bl
call fcn.005982c7
push eax
mov eax, dword [0x640974]
mov byte [ebp - 4], 7
lea ecx, [eax + 0xd8]
call fcn.0059844a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00598032
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00598032
mov ecx, dword [0x640974]
mov eax, dword [ecx + 0xa0]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov edx, dword [0x640974]
and al, 0xfc
push eax
mov ecx, dword [edx + 0xa0]
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
mov eax, dword [0x640974]
mov eax, dword [eax + 0xa0]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00598032
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.004f5acf
add esp, 4
xor edi, edi
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov edx, dword [0x640974]
mov dword [edx + 0xb8], edi
mov ecx, dword [0x640974]
call fcn.004bc0d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00598032
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00598032
jmp 0x4c2578
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00598032
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret