Function at 0x435aef
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24dc
call fcn.004e84e0
mov eax, dword [0x52ec00]
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 0x5055b0
push 1
push ebx
push 0x5055c0
mov dword [ebp - 0x246c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x435fdc
cmp dword [ebp - 0x246c], ebx
je 0x435fdc
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 0x435fca
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 0x435fca
mov esi, dword [ebp - 0x2488]
cmp esi, ebx
je 0x435fca
push str.metalink
call fcn.0043f8e5
mov edi, eax
pop ecx
mov dword [ebp - 0x24b8], edi
cmp edi, ebx
je 0x435fbe
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 0x435fb8
mov esi, dword [ebp - 0x248c]
cmp esi, ebx
je 0x435fb8
push str.files
call fcn.0043f8e5
mov esi, eax
pop ecx
mov dword [ebp - 0x24b4], esi
cmp esi, ebx
je 0x435fac
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 0x435fa6
mov eax, dword [ebp - 0x2478]
cmp eax, ebx
je 0x435fa6
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 0x435f94
mov eax, dword [ebp - 0x2468]
cmp eax, ebx
je 0x435f94
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 0x435f88
cmp dword [ebp - 0x2480], ebx
je 0x435f88
push str.file
push dword [ebp - 0x2480]
call fcn.004d5d48
pop ecx
pop ecx
test eax, eax
jne 0x435f7c
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 0x435f7c
cmp dword [ebp - 0x2484], ebx
je 0x435f7c
mov eax, dword [ebp - 0x2468]
push 0x516d00
lea ebx, [ebp - 0x24c8]
call fcn.0043f96a
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 0x435d93
cmp dword [ebp - 0x2498], 0
je 0x435d93
push dword [ebp - 0x2498]
mov eax, dword [ebp - 0x247c]
push 0x50e498
add eax, 0x628c0
push 0x103
push eax
call fcn.004d5add
add esp, 0x10
mov esi, dword [ebp - 0x2484]
push str.resources
call fcn.0043f8e5
mov esi, eax
pop ecx
mov dword [ebp - 0x24a4], esi
test esi, esi
je 0x435f6a
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 0x435f64
mov eax, dword [ebp - 0x2470]
test eax, eax
je 0x435f64
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
and dword [ebp - 0x2464], 0
jmp 0x435f3d
mov eax, dword [ebp - 0x2464]
test eax, eax
je 0x435f58
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 0x435f31
cmp dword [ebp - 0x2474], 0
je 0x435f31
push 0x515a6c
push dword [ebp - 0x2474]
call fcn.004d5d48
pop ecx
pop ecx
test eax, eax
jne 0x435f25
mov eax, dword [ebp - 0x2464]
push 0x516d20
lea ebx, [ebp - 0x24d8]
call fcn.0043f96a
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 0x435f1f
push str.http
push dword [ebp - 0x24c0]
call fcn.004d5d48
pop ecx
pop ecx
test eax, eax
je 0x435ea0
push 0x516d2c
push dword [ebp - 0x24c0]
call fcn.004d5d48
pop ecx
pop ecx
test eax, eax
jne 0x435f1f
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 0x435f1f
push 8
pop eax
cmp ax, word [ebp - 0x24a0]
jne 0x435f1f
cmp dword [ebp - 0x2498], 0
je 0x435f1f
xor eax, eax
push 0x2450
push eax
mov word [ebp - 0x2460], ax
lea eax, [ebp - 0x245c]
push eax
call fcn.004dbcc0
add esp, 0xc
push 0
push dword [ebp - 0x2498]
lea esi, [ebp - 0x2460]
call fcn.00431ad5
pop ecx
pop ecx
test eax, eax
je 0x435f1f
mov eax, esi
push eax
mov eax, dword [ebp - 0x247c]
add eax, 0x62d10
call fcn.00436282
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 0x435df0
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 + 0x62d20]
sub eax, dword [esi + 0x62d1c]
mov ecx, 0x2454
cdq
idiv ecx
test eax, eax
jbe 0x435ffe
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.004d5a7d
leave
ret