Function at 0x436c50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24d4
call fcn.0053fec0
mov eax, dword [0x5bd250]
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 0x58be60
push 1
push esi
push 0x58bf70
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x437155
cmp dword [ebp - 0x2468], esi
je 0x437155
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 0x437147
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 0x437147
mov ecx, dword [ebp - 0x247c]
test ecx, ecx
je 0x437147
mov edx, str.metalink
call fcn.00431dd0
mov esi, eax
mov dword [ebp - 0x24a4], esi
test esi, esi
je 0x43713b
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 0x437135
mov ecx, dword [ebp - 0x2484]
test ecx, ecx
je 0x437135
mov edx, str.files
call fcn.00431dd0
mov edi, eax
mov dword [ebp - 0x24a8], edi
test edi, edi
je 0x437129
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 0x437123
mov ecx, dword [ebp - 0x2478]
test ecx, ecx
je 0x437123
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 0x437117
mov ecx, dword [ebp - 0x246c]
test ecx, ecx
je 0x437117
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 0x43710b
mov eax, dword [ebp - 0x2488]
test eax, eax
je 0x43710b
push 0x59a6b4
push eax
call fcn.0053ede2
add esp, 8
test eax, eax
jne 0x4370ff
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 0x4370ff
cmp dword [ebp - 0x2474], 0
je 0x4370ff
mov ecx, dword [ebp - 0x246c]
lea eax, [ebp - 0x24c0]
push eax
mov edx, str.name
call fcn.00431ea0
mov ecx, 8
add esp, 4
movdqu xmm0, xmmword [eax]
movd eax, xmm0
movdqu xmmword [ebp - 0x24a0], xmm0
cmp cx, ax
jne 0x436ef4
mov eax, dword [ebp - 0x2498]
test eax, eax
je 0x436ef4
push eax
push 0x596370
lea eax, [ebx + 0x62ab0]
push 0x103
push eax
call fcn.00546433
add esp, 0x10
mov ecx, dword [ebp - 0x2474]
mov edx, str.resources
call fcn.00431dd0
mov edi, eax
mov dword [ebp - 0x24ac], edi
test edi, edi
je 0x4370ed
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 0x4370e7
mov ecx, dword [ebp - 0x2470]
test ecx, ecx
je 0x4370e7
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 0x4370db
mov edi, 8
mov ecx, dword [ebp - 0x2464]
test ecx, ecx
je 0x4370cf
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 0x4370a8
mov eax, dword [ebp - 0x2480]
test eax, eax
je 0x4370a8
push 0x59a6e0
push eax
call fcn.0053ede2
add esp, 8
test eax, eax
jne 0x43709c
mov ecx, dword [ebp - 0x2464]
lea eax, [ebp - 0x24d0]
push eax
mov edx, 0x59a6e8
call fcn.00431ea0
add esp, 4
movdqu xmm0, xmmword [eax]
movd eax, xmm0
movdqu xmmword [ebp - 0x24c0], xmm0
cmp di, ax
jne 0x43709c
mov esi, dword [ebp - 0x24b8]
push str.http
push esi
call fcn.0053ede2
add esp, 8
test eax, eax
je 0x437023
push 0x59a700
push esi
call fcn.0053ede2
add esp, 8
test eax, eax
jne 0x43709c
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 0x43709c
cmp di, word [ebp - 0x24a0]
jne 0x43709c
mov esi, dword [ebp - 0x2498]
test esi, esi
je 0x43709c
xor eax, eax
push 0x2450
push eax
mov word [ebp - 0x2460], ax
lea eax, [ebp - 0x245c]
push eax
call fcn.0053e230
add esp, 0xc
lea edx, [ebp - 0x2460]
mov ecx, esi
push 0
call fcn.004324a0
add esp, 4
test eax, eax
je 0x43709c
lea eax, [ebp - 0x2460]
push eax
lea ecx, [ebx + 0x62efc]
call fcn.00437b50
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 0x436f71
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.0053f9bc
mov esp, ebp
pop ebp
ret