Function at 0x436b80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24d4
call fcn.0053e720
mov eax, dword [0x5bb250]
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 0x589e30
push 1
push esi
push 0x589f40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x437085
cmp dword [ebp - 0x2468], esi
je 0x437085
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 0x437077
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 0x437077
mov ecx, dword [ebp - 0x247c]
test ecx, ecx
je 0x437077
mov edx, str.metalink
call fcn.00431d10
mov esi, eax
mov dword [ebp - 0x24a4], esi
test esi, esi
je 0x43706b
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 0x437065
mov ecx, dword [ebp - 0x2484]
test ecx, ecx
je 0x437065
mov edx, str.files
call fcn.00431d10
mov edi, eax
mov dword [ebp - 0x24a8], edi
test edi, edi
je 0x437059
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 0x437053
mov ecx, dword [ebp - 0x2478]
test ecx, ecx
je 0x437053
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 0x437047
mov ecx, dword [ebp - 0x246c]
test ecx, ecx
je 0x437047
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 0x43703b
mov eax, dword [ebp - 0x2488]
test eax, eax
je 0x43703b
push 0x598684
push eax
call fcn.0053d642
add esp, 8
test eax, eax
jne 0x43702f
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 0x43702f
cmp dword [ebp - 0x2474], 0
je 0x43702f
mov ecx, dword [ebp - 0x246c]
lea eax, [ebp - 0x24c0]
push eax
mov edx, str.name
call fcn.00431de0
mov ecx, 8
add esp, 4
movdqu xmm0, xmmword [eax]
movd eax, xmm0
movdqu xmmword [ebp - 0x24a0], xmm0
cmp cx, ax
jne 0x436e24
mov eax, dword [ebp - 0x2498]
test eax, eax
je 0x436e24
push eax
push 0x594340
lea eax, [ebx + 0x62ab0]
push 0x103
push eax
call fcn.00544ed3
add esp, 0x10
mov ecx, dword [ebp - 0x2474]
mov edx, str.resources
call fcn.00431d10
mov edi, eax
mov dword [ebp - 0x24ac], edi
test edi, edi
je 0x43701d
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 0x437017
mov ecx, dword [ebp - 0x2470]
test ecx, ecx
je 0x437017
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 0x43700b
mov edi, 8
mov ecx, dword [ebp - 0x2464]
test ecx, ecx
je 0x436fff
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 0x436fd8
mov eax, dword [ebp - 0x2480]
test eax, eax
je 0x436fd8
push 0x5986b0
push eax
call fcn.0053d642
add esp, 8
test eax, eax
jne 0x436fcc
mov ecx, dword [ebp - 0x2464]
lea eax, [ebp - 0x24d0]
push eax
mov edx, 0x5986b8
call fcn.00431de0
add esp, 4
movdqu xmm0, xmmword [eax]
movd eax, xmm0
movdqu xmmword [ebp - 0x24c0], xmm0
cmp di, ax
jne 0x436fcc
mov esi, dword [ebp - 0x24b8]
push str.http
push esi
call fcn.0053d642
add esp, 8
test eax, eax
je 0x436f53
push 0x5986d0
push esi
call fcn.0053d642
add esp, 8
test eax, eax
jne 0x436fcc
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 0x436fcc
cmp di, word [ebp - 0x24a0]
jne 0x436fcc
mov esi, dword [ebp - 0x2498]
test esi, esi
je 0x436fcc
xor eax, eax
push 0x2450
push eax
mov word [ebp - 0x2460], ax
lea eax, [ebp - 0x245c]
push eax
call fcn.0053ca90
add esp, 0xc
lea edx, [ebp - 0x2460]
mov ecx, esi
push 0
call fcn.004323e0
add esp, 4
test eax, eax
je 0x436fcc
lea eax, [ebp - 0x2460]
push eax
lea ecx, [ebx + 0x62efc]
call fcn.00437a80
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 0x436ea1
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.0053e21c
mov esp, ebp
pop ebp
ret