Function at 0x4362e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24d4
call fcn.0053af40
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x2468]
mov dword [ebp - 0x2468], esi
push eax
push 0x587020
push 1
push esi
push 0x587130
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4367e5
cmp dword [ebp - 0x2468], esi
je 0x4367e5
mov eax, 8
mov word [ebp - 0x24a0], ax
lea eax, [ebx + 0x5d130]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [ebp - 0x2468]
mov edi, eax
lea eax, [ebp - 0x248c]
mov dword [ebp - 0x248c], esi
push eax
sub esp, 0x10
mov dword [ebp - 0x2498], edi
movdqu xmm0, xmmword [ebp - 0x24a0]
mov esi, dword [edx]
mov ecx, esp
push edx
movdqu xmmword [ecx], xmm0
call dword [esi + 0xe8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or eax, 0xffffffff
cmp ax, word [ebp - 0x248c]
jne 0x4367d7
mov eax, dword [ebp - 0x2468]
lea edx, [ebp - 0x247c]
mov dword [ebp - 0x247c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x4367d7
mov ecx, dword [ebp - 0x247c]
test ecx, ecx
je 0x4367d7
mov edx, str.metalink
call fcn.00431470
mov esi, eax
mov dword [ebp - 0x24a4], esi
test esi, esi
je 0x4367cb
mov ecx, dword [esi]
lea eax, [ebp - 0x2484]
push eax
push esi
mov dword [ebp - 0x2484], 0
call dword [ecx + 0x30]
test eax, eax
js 0x4367c5
mov ecx, dword [ebp - 0x2484]
test ecx, ecx
je 0x4367c5
mov edx, str.files
call fcn.00431470
mov edi, eax
mov dword [ebp - 0x24a8], edi
test edi, edi
je 0x4367b9
mov ecx, dword [edi]
lea eax, [ebp - 0x2478]
push eax
push edi
mov dword [ebp - 0x2478], 0
call dword [ecx + 0x30]
test eax, eax
js 0x4367b3
mov ecx, dword [ebp - 0x2478]
test ecx, ecx
je 0x4367b3
mov dword [ebp - 0x2490], 0
lea edx, [ebp - 0x2490]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x20]
mov eax, dword [ebp - 0x2490]
lea edx, [ebp - 0x246c]
mov dword [ebx + 0x269c], eax
mov eax, dword [ebp - 0x2478]
push edx
push dword [ebx + 0x2698]
mov dword [ebp - 0x246c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x4367a7
mov ecx, dword [ebp - 0x246c]
test ecx, ecx
je 0x4367a7
mov dword [ebp - 0x2488], 0
lea edx, [ebp - 0x2488]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
test eax, eax
js 0x43679b
mov eax, dword [ebp - 0x2488]
test eax, eax
je 0x43679b
push 0x5958b4
push eax
call fcn.00539e62
add esp, 8
test eax, eax
jne 0x43678f
mov dword [ebp - 0x2474], eax
lea edx, [ebp - 0x2474]
mov eax, dword [ebp - 0x246c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x43678f
cmp dword [ebp - 0x2474], 0
je 0x43678f
mov ecx, dword [ebp - 0x246c]
lea eax, [ebp - 0x24c0]
push eax
mov edx, str.name
call fcn.00431540
mov ecx, 8
add esp, 4
movdqu xmm0, xmmword [eax]
movd eax, xmm0
movdqu xmmword [ebp - 0x24a0], xmm0
cmp cx, ax
jne 0x436584
mov eax, dword [ebp - 0x2498]
test eax, eax
je 0x436584
push eax
push 0x591530
lea eax, [ebx + 0x62ab0]
push 0x103
push eax
call fcn.00541843
add esp, 0x10
mov ecx, dword [ebp - 0x2474]
mov edx, str.resources
call fcn.00431470
mov edi, eax
mov dword [ebp - 0x24ac], edi
test edi, edi
je 0x43677d
mov ecx, dword [edi]
lea eax, [ebp - 0x2470]
push eax
push edi
mov dword [ebp - 0x2470], 0
call dword [ecx + 0x30]
test eax, eax
js 0x436777
mov ecx, dword [ebp - 0x2470]
test ecx, ecx
je 0x436777
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [ebp - 0x2470]
lea edx, [ebp - 0x2464]
mov dword [ebp - 0x2464], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x43676b
mov edi, 8
mov ecx, dword [ebp - 0x2464]
test ecx, ecx
je 0x43675f
mov dword [ebp - 0x2480], 0
lea edx, [ebp - 0x2480]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
test eax, eax
js 0x436738
mov eax, dword [ebp - 0x2480]
test eax, eax
je 0x436738
push 0x5958e0
push eax
call fcn.00539e62
add esp, 8
test eax, eax
jne 0x43672c
mov ecx, dword [ebp - 0x2464]
lea eax, [ebp - 0x24d0]
push eax
mov edx, 0x5958e8
call fcn.00431540
add esp, 4
movdqu xmm0, xmmword [eax]
movd eax, xmm0
movdqu xmmword [ebp - 0x24c0], xmm0
cmp di, ax
jne 0x43672c
mov esi, dword [ebp - 0x24b8]
push str.http
push esi
call fcn.00539e62
add esp, 8
test eax, eax
je 0x4366b3
push 0x595900
push esi
call fcn.00539e62
add esp, 8
test eax, eax
jne 0x43672c
xor eax, eax
lea edx, [ebp - 0x24a0]
mov word [ebp - 0x24a0], ax
mov eax, dword [ebp - 0x2464]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
test eax, eax
js 0x43672c
cmp di, word [ebp - 0x24a0]
jne 0x43672c
mov esi, dword [ebp - 0x2498]
test esi, esi
je 0x43672c
xor eax, eax
push 0x2450
push eax
mov word [ebp - 0x2460], ax
lea eax, [ebp - 0x245c]
push eax
call fcn.005392b0
add esp, 0xc
lea edx, [ebp - 0x2460]
mov ecx, esi
push 0
call fcn.00431b40
add esp, 4
test eax, eax
je 0x43672c
lea eax, [ebp - 0x2460]
push eax
lea ecx, [ebx + 0x62efc]
call fcn.004371e0
push dword [ebp - 0x2480]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x2464]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2470]
lea edx, [ebp - 0x2464]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x436601
mov edi, dword [ebp - 0x24ac]
mov esi, dword [ebp - 0x24a4]
mov eax, dword [ebp - 0x2470]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x2474]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebp - 0x24a8]
push dword [ebp - 0x2488]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x246c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2478]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x2484]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x247c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2468]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor esi, esi
mov ecx, dword [ebx + 0x62f00]
mov eax, 0xe1800e19
sub ecx, dword [ebx + 0x62efc]
imul ecx
mov eax, 1
add edx, ecx
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmovne esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebx + 0x5d130]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret