Function at 0x42bd8c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24c8
call fcn.0042e5e0
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x433f0c
push 1
push ebx
push 0x433dfc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42c162
cmp dword [ebp - 0x10], ebx
je 0x42c162
add esi, 0x5d128
mov word [ebp - 0x3c], 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x48]
lea esi, [ebp - 0x3c]
push edx
mov dword [ebp - 0x34], eax
sub esp, 0x10
mov eax, dword [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x48], ebx
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe8]
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp word [ebp - 0x48], 0xffff
jne 0x42c156
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x42c156
cmp dword [ebp - 0x24], ebx
je 0x42c156
push str.metalink
push dword [ebp - 0x24]
call fcn.004229b5
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
mov dword [ebp - 0x50], edi
je 0x42c14d
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x30]
test eax, eax
jl 0x42c147
cmp dword [ebp - 0x18], ebx
je 0x42c147
push str.files
push dword [ebp - 0x18]
call fcn.004229b5
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x54], esi
je 0x42c13e
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push esi
mov dword [ebp - 0x28], ebx
call dword [eax + 0x30]
test eax, eax
jl 0x42c138
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x42c138
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov dword [eax + 0x2698], ecx
mov ecx, dword [ebp - 0x28]
push edi
push dword [eax + 0x2694]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x1c]
test eax, eax
jl 0x42c12c
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x42c12c
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x42c123
cmp dword [ebp - 0x1c], ebx
je 0x42c123
push str.file
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x42c11a
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x42c11a
cmp dword [ebp - 0x20], ebx
je 0x42c11a
push str.name
lea eax, [ebp - 0x64]
push dword [ebp - 0xc]
push eax
call fcn.00422a40
mov esi, eax
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
cmp word [ebp - 0x3c], 8
jne 0x42bf99
cmp dword [ebp - 0x34], ebx
je 0x42bf99
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
add eax, 0x628a0
push 0x438aa0
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push str.resources
push dword [ebp - 0x20]
call fcn.004229b5
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x4c], esi
je 0x42c10e
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
push esi
mov dword [ebp - 8], ebx
call dword [eax + 0x30]
test eax, eax
jl 0x42c108
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x42c108
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jl 0x42c0ff
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x42c0ff
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x42c0f1
cmp dword [ebp - 0x2c], ebx
je 0x42c0f1
push 0x43fbdc
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x42c0e8
push str.type
lea eax, [ebp - 0x74]
push dword [ebp - 4]
push eax
call fcn.00422a40
mov esi, eax
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
cmp word [ebp - 0x64], 8
jne 0x42c0e5
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.http
push dword [ebp - 0x5c]
call esi
pop ecx
test eax, eax
pop ecx
je 0x42c082
push 0x43f1d8
push dword [ebp - 0x5c]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x42c0e5
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x3c]
mov word [ebp - 0x3c], bx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x78]
test eax, eax
jl 0x42c0e5
cmp word [ebp - 0x3c], 8
jne 0x42c0e5
cmp dword [ebp - 0x34], ebx
je 0x42c0e5
mov ecx, 0x914
xor eax, eax
lea edi, [ebp - 0x24c4]
mov word [ebp - 0x24c8], bx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24c8]
push ebx
push eax
push dword [ebp - 0x34]
call fcn.0042886a
add esp, 0xc
test eax, eax
je 0x42c0e5
lea eax, [ebp - 0x24c8]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x62ad4]
call fcn.0042c5af
mov esi, dword [ebp - 0x4c]
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42bfde
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x54]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebp - 0x50]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x62ad8]
cmp ecx, ebx
je 0x42c187
mov eax, dword [esi + 0x62adc]
sub eax, ecx
mov ecx, 0x2454
cdq
idiv ecx
test eax, eax
jbe 0x42c187
mov dword [ebp - 0x44], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
add esi, 0x5d128
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
leave
ret