Function at 0x41c3a3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24dc
call fcn.0049b9f0
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
mov dword [ebp - 0x247c], esi
mov dword [ebp - 0x24ac], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x246c]
push eax
push 0x4b5390
push 1
push ebx
push 0x4b53a0
mov dword [ebp - 0x246c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41c890
cmp dword [ebp - 0x246c], ebx
je 0x41c890
push 8
pop eax
add esi, 0x5d148
push esi
mov word [ebp - 0x24a0], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x24a8]
push edx
mov dword [ebp - 0x2498], eax
mov eax, dword [ebp - 0x246c]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x24a0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24a8], ebx
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe8]
push dword [ebp - 0x2498]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or eax, 0xffffffff
cmp ax, word [ebp - 0x24a8]
jne 0x41c87e
mov eax, dword [ebp - 0x246c]
lea edx, [ebp - 0x2488]
push edx
mov dword [ebp - 0x2488], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x41c87e
mov esi, dword [ebp - 0x2488]
cmp esi, ebx
je 0x41c87e
push str.metalink
call fcn.00420982
mov edi, eax
pop ecx
mov dword [ebp - 0x24b8], edi
cmp edi, ebx
je 0x41c872
mov eax, dword [edi]
lea ecx, [ebp - 0x248c]
push ecx
push edi
mov dword [ebp - 0x248c], ebx
call dword [eax + 0x30]
test eax, eax
jl 0x41c86c
mov esi, dword [ebp - 0x248c]
cmp esi, ebx
je 0x41c86c
push str.files
call fcn.00420982
mov esi, eax
pop ecx
mov dword [ebp - 0x24b4], esi
cmp esi, ebx
je 0x41c860
mov eax, dword [esi]
lea ecx, [ebp - 0x2478]
push ecx
push esi
mov dword [ebp - 0x2478], ebx
call dword [eax + 0x30]
test eax, eax
jl 0x41c85a
mov eax, dword [ebp - 0x2478]
cmp eax, ebx
je 0x41c85a
lea edx, [ebp - 0x24b0]
push edx
mov dword [ebp - 0x24b0], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0x24b0]
mov eax, dword [ebp - 0x247c]
lea edi, [ebp - 0x2468]
push edi
push dword [eax + 0x2698]
mov dword [eax + 0x269c], ecx
mov ecx, dword [ebp - 0x2478]
mov dword [ebp - 0x2468], ebx
mov edx, dword [ecx]
push ecx
call dword [edx + 0x1c]
test eax, eax
jl 0x41c848
mov eax, dword [ebp - 0x2468]
cmp eax, ebx
je 0x41c848
lea edx, [ebp - 0x2480]
push edx
mov dword [ebp - 0x2480], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x41c83c
cmp dword [ebp - 0x2480], ebx
je 0x41c83c
push str.file
push dword [ebp - 0x2480]
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
jne 0x41c830
mov eax, dword [ebp - 0x2468]
lea edx, [ebp - 0x2484]
push edx
mov dword [ebp - 0x2484], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x41c830
cmp dword [ebp - 0x2484], ebx
je 0x41c830
mov eax, dword [ebp - 0x2468]
push str.name
lea ebx, [ebp - 0x24c8]
call fcn.00420a07
mov esi, eax
lea edi, [ebp - 0x24a0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
push 8
pop eax
movsd dword es:[edi], dword [esi]
cmp ax, word [ebp - 0x24a0]
jne 0x41c647
cmp dword [ebp - 0x2498], 0
je 0x41c647
push dword [ebp - 0x2498]
mov eax, dword [ebp - 0x247c]
push 0x4c2d64
add eax, 0x62ac8
push 0x103
push eax
call fcn.00488ec0
add esp, 0x10
mov esi, dword [ebp - 0x2484]
push str.resources
call fcn.00420982
mov esi, eax
pop ecx
mov dword [ebp - 0x24a4], esi
test esi, esi
je 0x41c81e
mov eax, dword [esi]
and dword [ebp - 0x2470], 0
lea ecx, [ebp - 0x2470]
push ecx
push esi
call dword [eax + 0x30]
test eax, eax
jl 0x41c818
mov eax, dword [ebp - 0x2470]
test eax, eax
je 0x41c818
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
and dword [ebp - 0x2464], 0
jmp 0x41c7f1
mov eax, dword [ebp - 0x2464]
test eax, eax
je 0x41c80c
and dword [ebp - 0x2474], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x2474]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x41c7e5
cmp dword [ebp - 0x2474], 0
je 0x41c7e5
push 0x4c6890
push dword [ebp - 0x2474]
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
jne 0x41c7d9
mov eax, dword [ebp - 0x2464]
push str.type
lea ebx, [ebp - 0x24d8]
call fcn.00420a07
mov esi, eax
lea edi, [ebp - 0x24c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
push 8
pop eax
movsd dword es:[edi], dword [esi]
cmp ax, word [ebp - 0x24c8]
jne 0x41c7d3
push str.http
push dword [ebp - 0x24c0]
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
je 0x41c754
push 0x4c900c
push dword [ebp - 0x24c0]
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
jne 0x41c7d3
xor eax, eax
mov word [ebp - 0x24a0], ax
mov eax, dword [ebp - 0x2464]
mov ecx, dword [eax]
lea edx, [ebp - 0x24a0]
push edx
push eax
call dword [ecx + 0x78]
test eax, eax
jl 0x41c7d3
push 8
pop eax
cmp ax, word [ebp - 0x24a0]
jne 0x41c7d3
cmp dword [ebp - 0x2498], 0
je 0x41c7d3
xor eax, eax
push 0x2450
push eax
mov word [ebp - 0x2460], ax
lea eax, [ebp - 0x245c]
push eax
call fcn.0048e0e0
add esp, 0xc
push 0
push dword [ebp - 0x2498]
lea esi, [ebp - 0x2460]
call fcn.00418104
pop ecx
pop ecx
test eax, eax
je 0x41c7d3
mov eax, esi
push eax
mov eax, dword [ebp - 0x247c]
add eax, 0x62f18
call fcn.0041cba7
mov esi, dword [ebp - 0x24a4]
push dword [ebp - 0x2474]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x2464]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2470]
mov ecx, dword [eax]
lea edx, [ebp - 0x2464]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jge 0x41c6a4
mov eax, dword [ebp - 0x2470]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x2484]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x24b4]
push dword [ebp - 0x2480]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x2468]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2478]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x24b8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x248c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x2488]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x246c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x247c]
mov eax, dword [esi + 0x62f28]
sub eax, dword [esi + 0x62f24]
mov ecx, 0x2454
cdq
idiv ecx
test eax, eax
jbe 0x41c8b2
mov dword [ebp - 0x24ac], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
add esi, 0x5d148
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24ac]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488e60
leave
ret